• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Not able to (de-)activate PHP

psa.Components

Edit your psa database with phpmyadmin and check the psa.Components table. The php value needs to have the version of php you have installed. If it says 'not-installed' then that box will appear grey-out.
 
Is there anyway to repopulate the Components table automagically?

I was thinking a Plesk update might do it, but not sure on this one.

I've got a customer who has an empty set where their components table used to be...

Any help is appreciated.
 
Yes, PHP support enabling/disabling button was grayed out in my Plesk control panel. While checking the psa components table (using mysql) I found the value of PHP as not_installed. After editing the table manually, everything worked fine.

#mysql -u admin -p'cat /etc/psa/.psa.shadow'

mysql> use psa;
mysql> update Components set version="4.4.6" where name="php" limit 1;
mysql> \q
#
 
Back
Top