1) Open up php.ini in your shell with your favorite editing program.
pico /path to php/php.ini (replace with the path to your php.ini file)
defalt using
كود PHP:
pico /usr/local/lib/php.ini
or
كود PHP:
pico /etc/php.ini
2) Find the following line: safe_mode
Ctrl + W and type in: safe_mode
3) Turning safe mode on or off.
You may active it by or turn it off by changing it to either On OR Off.
Good! Now save the file by ctrl + x then y
4) Restart the Apache web server by
كود PHP:
/etc/init.d/httpd restart
مواقع النشر (المفضلة)