No, it doesn't. You know what, since you don't know what that is the best thing to do is leave it alone, but i'll try to teach the best way possible.
First, you are going to SSH the server as root, if you know know what I just said or if you don't have root access to the server then forget about it.
First left make a backup file, type this:
Code:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.my_backup
in the server type this:
Code:
vi /usr/local/apache/conf/httpd.conf
ok, now search for the domain that needs safemode on, you do a search by typing / and then typing what you what to search. Pay attention to the lower left corner, that's where you will see what you are searching for, it's going to look alot like this:
after typeing that press enter.
Ok, when you find the domain its going to look something like this:
Code:
<VirtualHost 111.111.111.111>
ServerName www.domain.com
ServerAlias domain.com
ServerAdmin [email protected]
DocumentRoot /home/userdom/public_html
BytesLog domlogs/domain.com-bytes_log
User userdom
Group userdom
<IfModule mod_userdir.c>
Userdir disabled
Userdir enabled userdom
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/userdom:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
CustomLog /usr/local/apache/domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/userdom/public_html/cgi-bin/
</VirtualHost>
Ok, using the arrow keys, go right bellow the second </IfModule> and press O
Now you are going to type:
Code:
php_admin_flag safe_mode On
when you are done typing press the escape key and save the file by pressing
now restart apache
Code:
/etc/init.d/httpd restart
and take a look to see if safemod is on for that domain.
If something goes wrong let's restore the backup that we made:
Code:
cat /usr/local/apache/conf/httpd.conf.my_backup > /usr/local/apache/conf/httpd.conf
That's it I think :D