View Single Post
Old August 27th, 2003, 06:58 PM   #4 (permalink)
GoMeS_k
Member
Verified Customer
 
Join Date: Apr 2002
Location: Brazil
Posts: 427
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.
GoMeS_k is offline   Reply With Quote