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

How to modify php.ini in linux

藏色散人
Release: 2023-03-07 14:02:01
Original
2400 people have browsed it

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
Copy after login

2. After locating it, execute the following command:

$ sudo vim /path/to/php.ini
Copy after login

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!

Related labels:
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