• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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