Home >Backend Development >PHP Problem >How to turn off php safe mode
How to turn off safe mode in php: first find and open the "php.ini" file; then look for the "safe_mode" item; then change "safe_mode = On" to "safe_mode = Off"; finally save and restart Just apache.
php turns off safe mode
Edit the php.ini file and look for safe_mode, if you see safe_mode = On
Change to
safe_mode = Off
Save, restart apache and it will be ok
For more related knowledge, please visitPHP中文网!
The above is the detailed content of How to turn off php safe mode. For more information, please follow other related articles on the PHP Chinese website!