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

How to turn off php's safe_mode mode?

coldplay.xixi
Release: 2023-03-02 22:46:02
Original
2412 people have browsed it

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template