• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

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