Home  >  Article  >  Backend Development  >  How to turn off php's safe_mode mode?

How to turn off php's safe_mode mode?

coldplay.xixi
coldplay.xixiOriginal
2020-07-23 09:58:122408browse

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 php's safe_mode mode?

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:

How to turn off phps safe_mode mode?

## Related learning recommendations:

PHP programming from entry to proficiency

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn