Home >Operation and Maintenance >Linux Operation and Maintenance >Linux view php configuration file location

Linux view php configuration file location

王林
王林Original
2020-01-11 13:24:505456browse

Linux view php configuration file location

1. First, you can open the terminal and enter the find command to display the path of the php configuration file

Linux view php configuration file location

(free video tutorial Share: linux video tutorial)

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

Linux view php configuration file location

3. Finally, you can enter "php -r 'phpinfo();'" in the terminal, and the detailed information of php will pop up in the browser. You can also find the php configuration file. Path

Linux view php configuration file location

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of Linux view php configuration file location. 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