Hello everyone,
I upgraded my Server from Debian 9 to 10 and Plesk 17.0.53 to Plesk 18.0.42 recently. PHP 5.6 was removed by doing this. However, there is a broken handler in the PHP handler list. I can't delete it. What I have done so far:
I even can't find the handler:
But the handler keeps beeing listed. Can you please help me to remove it? Thanks a lot in advance! Best regards, André
I upgraded my Server from Debian 9 to 10 and Plesk 17.0.53 to Plesk 18.0.42 recently. PHP 5.6 was removed by doing this. However, there is a broken handler in the PHP handler list. I can't delete it. What I have done so far:
Code:
# plesk bin php_handler --reread
The information about PHP handlers was successfully updated.
# plesk bin php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 8.1.3 by OS vendor 8.1.3 8.1 cgi /usr/bin/php-cgi8.1 /usr/bin/php8.1 /etc/php/8.1/cgi/php.ini false disabled
fastcgi 8.1.3 by OS vendor 8.1.3 8.1 fastcgi /usr/bin/php-cgi8.1 /usr/bin/php8.1 /etc/php/8.1/cgi/php.ini false disabled
fpm 8.1.3 by OS vendor 8.1.3 8.1 fpm /usr/sbin/php-fpm8.1 /usr/bin/php /etc/php/8.1/fpm/php.ini false enabled
fpm-dedicated 8.1.3 by OS vendor 8.1.3 8.1 fpm /usr/sbin/php-fpm8.1 /usr/bin/php /etc/php/8.1/fpm/php.ini false enabled
module 8.1.3 by OS vendor 8.1.3 8.1 module /usr/bin/php-cgi8.1 /usr/bin/php8.1 /etc/php/8.1/apache2/php.ini false disabled
php56-cgi 5.6.40 by debian maintainer 5.6.40 5.6 cgi /usr/bin/php-cgi5.6 /usr/bin/php5.6 /etc/php/5.6/cgi/php.ini true enabled
php56-fastcgi 5.6.40 by debian maintainer 5.6.40 5.6 fastcgi /usr/bin/php-cgi5.6 /usr/bin/php5.6 /etc/php/5.6/cgi/php.ini true disabled
php56-fpm 5.6.40 by debian maintainer 5.6.40 5.6 fpm /usr/sbin/php-fpm5.6 /usr/bin/php5.6 /etc/php/5.6/fpm/php.ini true enabled
plesk-php56-fastcgi 5.6.40 5.6.40 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 broken
plesk-php71-cgi 7.1.33 7.1.33 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.33 7.1.33 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 disabled
plesk-php71-fpm 7.1.33 7.1.33 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.34 7.2.34 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.34 7.2.34 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 enabled
plesk-php72-fpm 7.2.34 7.2.34 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 enabled
plesk-php74-cgi 7.4.28 7.4.28 7.4 cgi /opt/plesk/php/7.4/bin/php-cgi /opt/plesk/php/7.4/bin/php /opt/plesk/php/7.4/etc/php.ini true disabled
plesk-php74-fastcgi 7.4.28 7.4.28 7.4 fastcgi /opt/plesk/php/7.4/bin/php-cgi /opt/plesk/php/7.4/bin/php /opt/plesk/php/7.4/etc/php.ini true enabled
plesk-php74-fpm 7.4.28 7.4.28 7.4 fpm /opt/plesk/php/7.4/sbin/php-fpm /opt/plesk/php/7.4/bin/php /opt/plesk/php/7.4/etc/php.ini true enabled
plesk-php74-fpm-dedicated 7.4.28 7.4.28 7.4 fpm /opt/plesk/php/7.4/sbin/php-fpm /opt/plesk/php/7.4/bin/php /opt/plesk/php/7.4/etc/php.ini true enabled
plesk-php80-cgi 8.0.16 8.0.16 8.0 cgi /opt/plesk/php/8.0/bin/php-cgi /opt/plesk/php/8.0/bin/php /opt/plesk/php/8.0/etc/php.ini true disabled
plesk-php80-fastcgi 8.0.16 8.0.16 8.0 fastcgi /opt/plesk/php/8.0/bin/php-cgi /opt/plesk/php/8.0/bin/php /opt/plesk/php/8.0/etc/php.ini true enabled
plesk-php80-fpm 8.0.16 8.0.16 8.0 fpm /opt/plesk/php/8.0/sbin/php-fpm /opt/plesk/php/8.0/bin/php /opt/plesk/php/8.0/etc/php.ini true enabled
plesk-php80-fpm-dedicated 8.0.16 8.0.16 8.0 fpm /opt/plesk/php/8.0/sbin/php-fpm /opt/plesk/php/8.0/bin/php /opt/plesk/php/8.0/etc/php.ini true enabled
plesk-php81-cgi 8.1.3 8.1.3 8.1 cgi /opt/plesk/php/8.1/bin/php-cgi /opt/plesk/php/8.1/bin/php /opt/plesk/php/8.1/etc/php.ini true disabled
plesk-php81-fastcgi 8.1.3 8.1.3 8.1 fastcgi /opt/plesk/php/8.1/bin/php-cgi /opt/plesk/php/8.1/bin/php /opt/plesk/php/8.1/etc/php.ini true enabled
plesk-php81-fpm 8.1.3 8.1.3 8.1 fpm /opt/plesk/php/8.1/sbin/php-fpm /opt/plesk/php/8.1/bin/php /opt/plesk/php/8.1/etc/php.ini true enabled
plesk-php81-fpm-dedicated 8.1.3 8.1.3 8.1 fpm /opt/plesk/php/8.1/sbin/php-fpm /opt/plesk/php/8.1/bin/php /opt/plesk/php/8.1/etc/php.ini true enabled
# plesk bin php_handler --remove -id plesk-php56-fastcgi
The PHP handler "plesk-php56-fastcgi" is not found.
exit status 4
# /opt/psa/admin/bin/php_handlers_control --remove --id=plesk-php56-fastcgi
[Warning] Handler with id `plesk-php56-fastcgi' does not exist
Code:
# ls -al /etc/psa/php_versions.d
total 84K
drwxr-xr-x 2 root root 4.0K Mar 12 23:28 .
drwxr-xr-x 6 root root 4.0K Mar 12 23:26 ..
-rw-r--r-- 1 root root 118 Mar 12 23:30 php-cgi.conf
-rw-r--r-- 1 root root 126 Mar 12 23:30 php-fastcgi.conf
-rw-r--r-- 1 root root 165 Mar 12 23:31 php-fpm.conf
-rw-r--r-- 1 root root 128 Mar 12 23:32 php-module.conf
-rw-r--r-- 1 root root 158 May 12 2017 plesk-php71-cgi.conf
-rw-r--r-- 1 root root 166 May 12 2017 plesk-php71-fastcgi.conf
-rw-r--r-- 1 root root 222 May 12 2017 plesk-php71-fpm.conf
-rw-r--r-- 1 root root 158 Oct 12 2018 plesk-php72-cgi.conf
-rw-r--r-- 1 root root 166 Oct 12 2018 plesk-php72-fastcgi.conf
-rw-r--r-- 1 root root 222 Oct 12 2018 plesk-php72-fpm.conf
-rw-r--r-- 1 root root 158 Feb 18 08:57 plesk-php74-cgi.conf
-rw-r--r-- 1 root root 166 Feb 18 08:57 plesk-php74-fastcgi.conf
-rw-r--r-- 1 root root 222 Feb 18 08:57 plesk-php74-fpm.conf
-rw-r--r-- 1 root root 158 Feb 18 08:57 plesk-php80-cgi.conf
-rw-r--r-- 1 root root 166 Feb 18 08:57 plesk-php80-fastcgi.conf
-rw-r--r-- 1 root root 222 Feb 18 08:57 plesk-php80-fpm.conf
-rw-r--r-- 1 root root 158 Feb 18 08:57 plesk-php81-cgi.conf
-rw-r--r-- 1 root root 166 Feb 18 08:57 plesk-php81-fastcgi.conf
-rw-r--r-- 1 root root 222 Feb 18 08:57 plesk-php81-fpm.conf
# grep -rn '/etc/psa/php_versions.d/' -e 'plesk-php56'
#