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

Where is the php configuration file in linux

尚
Original
2019-12-26 10:36:314211browse

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!

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