• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Question PHP settings is disable

Trung Ma

New Pleskian
Hi All,

Some domains on my Plesk sometime is disabled. I checked on log file of domain and Plesk server, but don't find anything. Please let me know how to check it. I want to know who is disable, time, ... everything if I can see.

Thanks,
Trung Ma
 

Attachments

  • php_setting.PNG.jpg
    php_setting.PNG.jpg
    82.3 KB · Views: 16
I would suggest you check related actions/records in Panel log: /usr/local/psa/admin/logs/panel.log
 
Plesk provides a feature to select/deselect PHP support for each domain. Sometimes, the check box to enable/disable PHP support is grayed out, so the user won’t be able to use that feature. Mostly this happens if you have installed PHP manually.

How to see the installed PHP components:

Plesk control panel -> click on Plesk–>server–>component info
You can see if the installed PHP is detected by the Plesk.

You can see the same information using mysql:

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

mysql> use psa;
mysql> select * from Components;


If you see the value of php as not_installed, you probably have to edit the database:

PHP-Version:

#php -v

Edit the psa components table:

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

mysql> use psa;
mysql> update Components set version=”5.6″ where name=”php” limit 1;
mysql>\q


Restart plesk:

#/etc/init.d/psa stopall
#/etc/init.d/psa start


Try if it works for your case. If you have any further questions, please let me know.
 
Last edited:
Back
Top