Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to enable or disable php variables in Plesk  (Read 2077 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
How to enable or disable php variables in Plesk
« on: December 29, 2013, 11:17:53 am »
If you want to enable to disable PHP variable for all domains then you can do that using the below steps :

Here we have taken an example of safe_mode varibale


    root@server
  • cd /etc/httpd/conf.d


    root@server
  • vi safemode.conf


and just add the below lines in the safemode.conf file

    <Location />

    php_admin_flag safe_mode off

    < /Location>

 

Finally restart the apache service on the server and it will work like a charm.

That's All !!  :) :)