Submitted by denisr on Sat, 10/06/2018 - 12:38
I install php72 from remi, removed default and php56/70. Now I can't select FPM mode: Failed to save website options : No PHP versions found for mode fpm. FPM pool is running ok.
There is no any debug log from save_phpmode.cgi?mode=fpm , so I don't know what error inside.
virtualmin check-config
The following PHP versions are available : 7.2.10 (/bin/php72-cgi), 7.2 (mod_php)
PHP-FPM support is available on this system.
PHP versions have changed to 7.2, 7.2 since last check. Regenerating any missing php.ini files.
ps aux | grep fpm
root 1069 0.0 0.0 476968 14032 ? Ss 14:59 0:00 php-fpm: master process (/etc/opt/remi/php72/php-fpm.conf)
apache 1070 0.0 0.0 476968 7000 ? S 14:59 0:00 php-fpm: pool www
apache 1071 0.0 0.0 476968 7000 ? S 14:59 0:00 php-fpm: pool www
apache 1072 0.0 0.0 476968 7000 ? S 14:59 0:00 php-fpm: pool www
apache 1073 0.0 0.0 476968 7000 ? S 14:59 0:00 php-fpm: pool www
apache 1074 0.0 0.0 476968 7004 ? S 14:59 0:00 php-fpm: pool www
cat /etc/opt/remi/php72/php-fpm.d/www.conf
listen = 127.0.0.1:9000
Also there is no listen = /var/run/php-fpm.sock
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 10/06/2018 - 18:14 Comment #1
Looks like Virtualmin is having trouble finding the PHP executable for version 7.2.
What output do you get from
find /opt/remi -name php-cgi
Submitted by denisr on Sun, 10/07/2018 - 05:05 Comment #2
/opt/remi/php72/root/usr/bin/php-cgi
Submitted by JamieCameron on Sun, 10/07/2018 - 17:55 Comment #3
Ok, that path should be detected. I assume you are running at least Virtualmin version 6.03 ?
Submitted by denisr on Mon, 10/08/2018 - 05:15 Comment #4
of corse 6.03
Submitted by denisr on Fri, 10/12/2018 - 16:33 Comment #5
Fixed in 6.04, thank you.
Can I specify beautiful FPM Domain ID instead of 153877724813704 ?
Submitted by denisr on Fri, 10/12/2018 - 16:34 Comment #6
Fixed in 6.04 in php-lib.pl