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