• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Can't remove php handler from list - the PHP handler "plesk-php56-fastcgi" is not found

anli

New Pleskian
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:

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
I even can't find the handler:
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'
#
But the handler keeps beeing listed. Can you please help me to remove it? Thanks a lot in advance! Best regards, André
 
Try:
Code:
/usr/local/psa/admin/bin/php_handlers_control --reread

it should update the list correctly
 
Thank you for your fast response. I did that:

Code:
# /usr/local/psa/admin/bin/php_handlers_control --reread
# /usr/local/psa/admin/bin/php_handlers_control --list
                      id:                display name:  version:    type:                         cgi-bin:                    cli-bin:                        php.ini:  system:         service:                           pool.d:
                php56-cgi  5.6.40 by debian maintainer    5.6.40      cgi              /usr/bin/php-cgi5.6             /usr/bin/php5.6        /etc/php/5.6/cgi/php.ini
            php56-fastcgi  5.6.40 by debian maintainer    5.6.40  fastcgi              /usr/bin/php-cgi5.6             /usr/bin/php5.6        /etc/php/5.6/cgi/php.ini
                php56-fpm  5.6.40 by debian maintainer    5.6.40      fpm             /usr/sbin/php-fpm5.6             /usr/bin/php5.6        /etc/php/5.6/fpm/php.ini                php5.6-fpm           /etc/php/5.6/fpm/pool.d
                  fastcgi                        8.1.3     8.1.3  fastcgi              /usr/bin/php-cgi8.1             /usr/bin/php8.1        /etc/php/8.1/cgi/php.ini        *
          plesk-php72-cgi                       7.2.34    7.2.34      cgi   /opt/plesk/php/7.2/bin/php-cgi  /opt/plesk/php/7.2/bin/php  /opt/plesk/php/7.2/etc/php.ini        *
                   module                        8.1.3     8.1.3   module              /usr/bin/php-cgi8.1             /usr/bin/php8.1    /etc/php/8.1/apache2/php.ini        *
          plesk-php74-fpm                       7.4.28    7.4.28      fpm  /opt/plesk/php/7.4/sbin/php-fpm  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *  plesk-php74-fpm  /opt/plesk/php/7.4/etc/php-fpm.d
plesk-php74-fpm-dedicated                       7.4.28    7.4.28      fpm  /opt/plesk/php/7.4/sbin/php-fpm  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *  plesk-php74-fpm
      plesk-php74-fastcgi                       7.4.28    7.4.28  fastcgi   /opt/plesk/php/7.4/bin/php-cgi  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *
          plesk-php81-cgi                        8.1.3     8.1.3      cgi   /opt/plesk/php/8.1/bin/php-cgi  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *
      plesk-php72-fastcgi                       7.2.34    7.2.34  fastcgi   /opt/plesk/php/7.2/bin/php-cgi  /opt/plesk/php/7.2/bin/php  /opt/plesk/php/7.2/etc/php.ini        *
          plesk-php80-fpm                       8.0.16    8.0.16      fpm  /opt/plesk/php/8.0/sbin/php-fpm  /opt/plesk/php/8.0/bin/php  /opt/plesk/php/8.0/etc/php.ini        *  plesk-php80-fpm  /opt/plesk/php/8.0/etc/php-fpm.d
plesk-php80-fpm-dedicated                       8.0.16    8.0.16      fpm  /opt/plesk/php/8.0/sbin/php-fpm  /opt/plesk/php/8.0/bin/php  /opt/plesk/php/8.0/etc/php.ini        *  plesk-php80-fpm
          plesk-php71-fpm                       7.1.33    7.1.33      fpm  /opt/plesk/php/7.1/sbin/php-fpm  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini        *  plesk-php71-fpm  /opt/plesk/php/7.1/etc/php-fpm.d
          plesk-php72-fpm                       7.2.34    7.2.34      fpm  /opt/plesk/php/7.2/sbin/php-fpm  /opt/plesk/php/7.2/bin/php  /opt/plesk/php/7.2/etc/php.ini        *  plesk-php72-fpm  /opt/plesk/php/7.2/etc/php-fpm.d
          plesk-php71-cgi                       7.1.33    7.1.33      cgi   /opt/plesk/php/7.1/bin/php-cgi  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini        *
          plesk-php74-cgi                       7.4.28    7.4.28      cgi   /opt/plesk/php/7.4/bin/php-cgi  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *
          plesk-php80-cgi                       8.0.16    8.0.16      cgi   /opt/plesk/php/8.0/bin/php-cgi  /opt/plesk/php/8.0/bin/php  /opt/plesk/php/8.0/etc/php.ini        *
                      cgi                        8.1.3     8.1.3      cgi              /usr/bin/php-cgi8.1             /usr/bin/php8.1        /etc/php/8.1/cgi/php.ini        *
                      fpm                        8.1.3     8.1.3      fpm             /usr/sbin/php-fpm8.1                /usr/bin/php        /etc/php/8.1/fpm/php.ini        *       php8.1-fpm           /etc/php/8.1/fpm/pool.d
            fpm-dedicated                        8.1.3     8.1.3      fpm             /usr/sbin/php-fpm8.1                /usr/bin/php        /etc/php/8.1/fpm/php.ini        *       php8.1-fpm
      plesk-php81-fastcgi                        8.1.3     8.1.3  fastcgi   /opt/plesk/php/8.1/bin/php-cgi  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *
      plesk-php80-fastcgi                       8.0.16    8.0.16  fastcgi   /opt/plesk/php/8.0/bin/php-cgi  /opt/plesk/php/8.0/bin/php  /opt/plesk/php/8.0/etc/php.ini        *
          plesk-php81-fpm                        8.1.3     8.1.3      fpm  /opt/plesk/php/8.1/sbin/php-fpm  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *  plesk-php81-fpm  /opt/plesk/php/8.1/etc/php-fpm.d
plesk-php81-fpm-dedicated                        8.1.3     8.1.3      fpm  /opt/plesk/php/8.1/sbin/php-fpm  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *  plesk-php81-fpm
      plesk-php71-fastcgi                       7.1.33    7.1.33  fastcgi   /opt/plesk/php/7.1/bin/php-cgi  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini        *
 
(sorry, had to split because of 10000 char limit)
The handler isn't listed there anymore, but...
Code:
# /opt/psa/admin/bin/php_handlers_control --reread
# /opt/psa/admin/bin/php_handlers_control --list
                      id:                display name:  version:    type:                         cgi-bin:                    cli-bin:                        php.ini:  system:         service:                           pool.d:
                php56-cgi  5.6.40 by debian maintainer    5.6.40      cgi              /usr/bin/php-cgi5.6             /usr/bin/php5.6        /etc/php/5.6/cgi/php.ini
            php56-fastcgi  5.6.40 by debian maintainer    5.6.40  fastcgi              /usr/bin/php-cgi5.6             /usr/bin/php5.6        /etc/php/5.6/cgi/php.ini
                php56-fpm  5.6.40 by debian maintainer    5.6.40      fpm             /usr/sbin/php-fpm5.6             /usr/bin/php5.6        /etc/php/5.6/fpm/php.ini                php5.6-fpm           /etc/php/5.6/fpm/pool.d
                  fastcgi                        8.1.3     8.1.3  fastcgi              /usr/bin/php-cgi8.1             /usr/bin/php8.1        /etc/php/8.1/cgi/php.ini        *
          plesk-php72-cgi                       7.2.34    7.2.34      cgi   /opt/plesk/php/7.2/bin/php-cgi  /opt/plesk/php/7.2/bin/php  /opt/plesk/php/7.2/etc/php.ini        *
                   module                        8.1.3     8.1.3   module              /usr/bin/php-cgi8.1             /usr/bin/php8.1    /etc/php/8.1/apache2/php.ini        *
          plesk-php74-fpm                       7.4.28    7.4.28      fpm  /opt/plesk/php/7.4/sbin/php-fpm  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *  plesk-php74-fpm  /opt/plesk/php/7.4/etc/php-fpm.d
plesk-php74-fpm-dedicated                       7.4.28    7.4.28      fpm  /opt/plesk/php/7.4/sbin/php-fpm  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *  plesk-php74-fpm
      plesk-php74-fastcgi                       7.4.28    7.4.28  fastcgi   /opt/plesk/php/7.4/bin/php-cgi  /opt/plesk/php/7.4/bin/php  /opt/plesk/php/7.4/etc/php.ini        *
          plesk-php81-cgi                        8.1.3     8.1.3      cgi   /opt/plesk/php/8.1/bin/php-cgi  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *
      plesk-php72-fastcgi                       7.2.34    7.2.34  fastcgi   /opt/plesk/php/7.2/bin/php-cgi  /opt/plesk/php/7.2/bin/php  /opt/plesk/php/7.2/etc/php.ini        *
          plesk-php80-fpm                       8.0.16    8.0.16      fpm  /opt/plesk/php/8.0/sbin/php-fpm  /opt/plesk/php/8.0/bin/php  /opt/plesk/php/8.0/etc/php.ini        *  plesk-php80-fpm  /opt/plesk/php/8.0/etc/php-fpm.d
plesk-php80-fpm-dedicated                       8.0.16    8.0.16      fpm  /opt/plesk/php/8.0/sbin/php-fpm  /opt/plesk/php/8.0/bin/php  /opt/plesk/php/8.0/etc/php.ini        *  plesk-php80-fpm
          plesk-php71-fpm                       7.1.33    7.1.33      fpm  /opt/plesk/php/7.1/sbin/php-fpm  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini        *  plesk-php71-fpm  /opt/plesk/php/7.1/etc/php-fpm.d
          plesk-php72-fpm                       7.2.34    7.2.34      fpm  /opt/plesk/php/7.2/sbin/php-fpm  /opt/plesk/php/7.2/bin/php  /opt/plesk/php/7.2/etc/php.ini        *  plesk-php72-fpm  /opt/plesk/php/7.2/etc/php-fpm.d
          plesk-php71-cgi                       7.1.33    7.1.33      cgi   /opt/plesk/php/7.1/bin/php-cgi  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini        *
[...]
          plesk-php81-fpm                        8.1.3     8.1.3      fpm  /opt/plesk/php/8.1/sbin/php-fpm  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *  plesk-php81-fpm  /opt/plesk/php/8.1/etc/php-fpm.d
plesk-php81-fpm-dedicated                        8.1.3     8.1.3      fpm  /opt/plesk/php/8.1/sbin/php-fpm  /opt/plesk/php/8.1/bin/php  /opt/plesk/php/8.1/etc/php.ini        *  plesk-php81-fpm
      plesk-php71-fastcgi                       7.1.33    7.1.33  fastcgi   /opt/plesk/php/7.1/bin/php-cgi  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini        *
... it keeps beeing listed in plesk bin php_handler --list (last line):
Code:
# plesk bin php_handler --list
                        id:                display name:  full version:  version:    type:                         cgi-bin:                    php-cli:                        php.ini:  custom:  status:
                  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
                    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
            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
                     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
            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-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-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-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
                        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
                        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
        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-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-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-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-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
In the Admin UI it is also shown.
 
Hi,

We have the same problem, but weirdly only on our first (elder) CentOS7 server.
Screenshot 2023-03-14 at 08.29.32.png

Nothing happened after I updated the list with the 'plesk bin php_handler --reread' command.

Any idea?

Thank you.
 
In the end, my solution was to fix the handlers.

Code:
plesk repair web -php-handlers

This way I was able to move the unregistered handler to an existing one.

Errors are gone, and everyone is happy :)

I used this handy article (thanks): Unregistered PHP handlers
 
Back
Top