1. First, you can open the terminal and enter the find command to display the path of the php configuration file
(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
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
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!