Home  >  Article  >  Backend Development  >  How to modify php.ini in linux

How to modify php.ini in linux

藏色散人
藏色散人Original
2020-11-09 13:52:172359browse

How to modify php.ini in Linux: First use the "$ locate php.ini" command to find the php.ini file; then execute "$ sudo vim /path/to/php.ini" and modify it; finally Just save the file via ":wq".

How to modify php.ini in linux

Recommendation: "PHP Video Tutorial"

linux method to modify php.ini:

1. First, use the following command to find the php.ini file:

$ locate php.ini

2. After locating it, execute the following command:

$ sudo vim /path/to/php.ini

3. After the modification is completed, enter: wq save document

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