• 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.

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