I have plesk 9.5 with me. I want to switch off safe_mode for a single domain. I have copied the php.ini to httpdocs but it still shows the server configuration when I check.
Any suggestion please ?????
Printable View
I have plesk 9.5 with me. I want to switch off safe_mode for a single domain. I have copied the php.ini to httpdocs but it still shows the server configuration when I check.
Any suggestion please ?????
Moved > Hosting Security and Technology .
First of, I would recommend not to use safe mode. It is already deprecated since the previous version and the current version does not support it anymore at all.
To answer your question, how is PHP integrated? In case of Apache and mod_php you would need to change it in the Apache configuration.
Hello,
Go to the control panel for the specific domain where you want to turn off safe mode, click on the Websites & Domains tab. At the bottom will be a listing of the domain names, click on an individual name to see it's hosting settings. There should be a checkbox for PHP, and another one for whether or not to use safe mode.
Warm Regards
AiderPro Technologies
http://aiderpro.com
Hello,
You can set this by following steps also.
find / -name php.ini
/etc/php.ini
/usr/local/psa/admin/conf/php.ini
Search for "safe_mode" in php.ini file.
and edit it as "safe_mode = Off" Then restart Apache.
Warm Regards
AiderPro Technologies
http://aiderpro.com
Ok will check and let you know the result
Hey,
Usually the main configuration file location is /etc/php.ini.
Please try this,
It is possible to set up php.ini per-domain for each domain which is running PHP scripts as a CGI of FastCGI application. In this case it should be located in /var/www/vhost/domain/etc/ directory to be recognized by PHP interpreter.