using .htaccess file:
add the next line to .htaccess file:
php_value safe_mode "1"
using php.ini file
in php.ini add this line
safe_mode = Off
for globall efect, search php.ini in /etc/ folder and change:
safe_mode = On
with
safe_mode = Off
NOTE:
Php Safe Mode was removed in PHP 6.0.0. (features.safe-mode)
Be First to Comment