1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Not able to (de-)activate PHP

Discussion in 'Plesk for Linux - 8.x and Older' started by goebelmeier, May 22, 2006.

  1. goebelmeier

    goebelmeier Guest

  2. TSJason

    TSJason Guest


    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.
  3. nathacof@

    nathacof@ Guest

    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.
  4. mohammednv

    mohammednv Guest

    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