|
Hi,
Since it's not safe to turn safe mode server wide... here's the instructions to turn it off in one site...
1. create a file called 'safemode'
2. the file needs to contain ' php_admin_value safe_mode Off '
3. place the file in /etc/httpd/conf/site[n] directory.
(where site[n] is the site number of the domain)
4. Then restart the apache.
Here's the details:
Using SSH login as root, type
pico /etc/httpd/conf/siteX/safemode
where x is the number of the site
type
php_admin_value safe_mode Off
Hit control-x and y enter and y enter to save the file
restart apache:
/sbin/service httpd restart
Hope it helps.
|