let ur site have the name of : ulkahf
and u want to stop the PHP safe mode for it only , while still running for the other sites on the server
this done by :
From SSH write
PHP Code:
pico /usr/local/apache/conf/httpd.conf
{NOTE}::[[ take acopy of the orginal file]]
press : CTRL + W and search for :
PHP Code:
<Directory "/usr/local/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
after it add :
PHP Code:
<Directory "/home/ulkahf/public_html">
php_admin_flag safe_mode Off
</Directory>
** Replace ulkahf with the name of site u want to stop PHP safe mode on it :
then press : CTRL +X and then Y to save
then restart the apache
then : from SSH
PHP Code:
service httpd restart
repeat the staps for each site u want to stop PHP safe mode for it .
i hope my threat is use full
i am ready for any help in this steps
Eng. Sparks
ali hashim
Bookmarks