donnie
2003-09-11, 12:40 PM
Hi all,
I'm running a linux RedHat 7.3 (apache build without phpSuexec) . "SafeMode On" on my server.
My actual problem is that I want to exclude one of my sub-Domain from Safe Mode. I tried the following solutions but none of them work.
1) edit /usr/local/apache/conf/httpd.conf
And add the following to the VirtualHost entry(SubDomain)
<IfModule mod_php4.c>
php_admin_flag safe_mode off
</IfModule>
2) Something similar to the above :
<IfModule mod_php4.c>
php_admin_value safe_mode 0
</IfModule>
3)Create a blank php.ini in the directory (folder of subdomain) and put in it the safe variable turned off.
But NONE of the above solution works for me.
Please help me.
I'm running a linux RedHat 7.3 (apache build without phpSuexec) . "SafeMode On" on my server.
My actual problem is that I want to exclude one of my sub-Domain from Safe Mode. I tried the following solutions but none of them work.
1) edit /usr/local/apache/conf/httpd.conf
And add the following to the VirtualHost entry(SubDomain)
<IfModule mod_php4.c>
php_admin_flag safe_mode off
</IfModule>
2) Something similar to the above :
<IfModule mod_php4.c>
php_admin_value safe_mode 0
</IfModule>
3)Create a blank php.ini in the directory (folder of subdomain) and put in it the safe variable turned off.
But NONE of the above solution works for me.
Please help me.