Home >Backend Development >PHP Problem >How to modify php.ini in linux
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".
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!