Home > Article > Backend Development > How to turn off php's safe_mode mode?
How to turn off PHP's safe_mode mode: first open the [php.ini] file; then set [safe_mode = On] to [safe_mode = Off]; finally restart PHP, or restart the entire environment.
How to turn off the safe_mode mode of php:
In some environments, safe_mode is turned on, which will cause the program to have a lot of php The built-in function cannot be used and the system will be paralyzed. It is recommended to close it.
Set safe_mode = Off
in the php.ini file, and then restart php, or restart the entire environment, as shown in the figure:
## Related learning recommendations:
The above is the detailed content of How to turn off php's safe_mode mode?. For more information, please follow other related articles on the PHP Chinese website!