• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Resolved PHP7.2 doesn't show in domain's PHP Settings drop down

phoenixisp

Silver Pleskian
I have php7.2 installed on a Plesk 17.8.11 install on Centos7. Yet when I go to a domain's PHP Settings the version does not show in the PHP version drop down. What am I missing?

Thanks,

Sonny
 
Did you install it stand-alone via yum on CentOS or did you activate it by using the Plesk built-in PHP 7.2 via Plesk installer?
 
Interesting error. Has Plesk registered the module in the PHP handlers? Can you please copy the output of
# /usr/local/psa/bin/php_handler --list
to this thread in "code"-brackets, so that all can be seen?
 
Peter, thanks for the help. I ran the command and what I found was that the php handler for 7.2 is disabled. See here:

(
/usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 5.4.16 by OS vendor 5.4.16 5.4 cgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
fastcgi 5.4.16 by OS vendor 5.4.16 5.4 fastcgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
fpm 5.4.16 by OS vendor 5.4.16 5.4 fpm /usr/sbin/php-fpm /usr/bin/php /etc/php.ini false enabled
module 5.4.16 by OS vendor 5.4.16 5.4 module /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
plesk-php56-cgi 5.6.36 5.6.36 5.6 cgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true disabled
plesk-php56-fastcgi 5.6.36 5.6.36 5.6 fastcgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php56-fpm 5.6.36 5.6.36 5.6 fpm /opt/plesk/php/5.6/sbin/php-fpm /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php70-cgi 7.0.30 7.0.30 7.0 cgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true disabled
plesk-php70-fastcgi 7.0.30 7.0.30 7.0 fastcgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
plesk-php70-fpm 7.0.30 7.0.30 7.0 fpm /opt/plesk/php/7.0/sbin/php-fpm /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
plesk-php71-cgi 7.1.17 7.1.17 7.1 cgi /opt/plesk/php/7.1/bin/php-cgi /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini true disabled
plesk-php71-fastcgi 7.1.17 7.1.17 7.1 fastcgi /opt/plesk/php/7.1/bin/php-cgi /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini true enabled
plesk-php71-fpm 7.1.17 7.1.17 7.1 fpm /opt/plesk/php/7.1/sbin/php-fpm /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini true enabled
plesk-php72-cgi 7.2.5 7.2.5 7.2 cgi /opt/plesk/php/7.2/bin/php-cgi /opt/plesk/php/7.2/bin/php /opt/plesk/php/7.2/etc/php.ini true disabled
plesk-php72-fastcgi 7.2.5 7.2.5 7.2 fastcgi /opt/plesk/php/7.2/bin/php-cgi /opt/plesk/php/7.2/bin/php /opt/plesk/php/7.2/etc/php.ini true disabled
plesk-php72-fpm 7.2.5 7.2.5 7.2 fpm /opt/plesk/php/7.2/sbin/php-fpm /opt/plesk/php/7.2/bin/php /opt/plesk/php/7.2/etc/php.ini true disabled
)

Sorry if the code brackets are wrong, not sure of that.
 
It looks as if the PHP 7.2 module is installed correctly, but was not enabled. Please go to Tools & Settings > PHP settings and try to enable the version there.
pleskphpsettings.jpg
 
If that is not possible, you can also try to
# plesk bin php_handler --enable -id plesk-php72-cgi
# plesk bin php_handler --enable -id plesk-php72-fastcgi
# plesk bin php_handler --enable -id plesk-php72-fpm
 
Wow, I feel like an idiot. I thought those were just for showing what was enabled and what wasn't.

Many thanks Peter, all is well now.
 
Back
Top