Home  >  Article  >  Backend Development  >  How to modify ini file in php

How to modify ini file in php

藏色散人
藏色散人Original
2020-07-18 09:54:284467browse

How to modify the ini file in php: first find and open the "php.ini" file in the PHP directory file; then hold down the "ctrl F" shortcut key to find the configuration item that needs to be modified; then remove the front of the configuration item Comment; just modify the required value at the end and save it.

How to modify ini file in php

php modify ini file

Find the php.ini file, usually in the php directory file below. Open the file, hold down ctrl F to find the configuration item that needs to be modified, and then remove the previous comment, usually a semicolon (i.e.;). Then modify the required values ​​and save the file. Just restart PHP and the server apache or nginx.

Recommended: "PHP Tutorial"

The above is the detailed content of How to modify ini file in php. 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