• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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