Home > Operation and Maintenance > Linux Operation and Maintenance > Where is the php configuration file in linux

Where is the php configuration file in linux

Release: 2019-12-26 10:36:31
Original
4237 people have browsed it

Where is the php configuration file in linux

Usually php default configuration location

/usr/local/php/etc/php.ini

1. Find The specific method of linux php configuration file is to first open the terminal and enter the find command to display the path of the php configuration file:

find / -name php.ini

Where is the php configuration file in linux

2. Then you can also directly use the built-in command of PHP to search. Using the following command, you can clearly see the configuration file currently used by PHP:

Where is the php configuration file in linux

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of Where is the php configuration file 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