Linux view php configuration file location

王林
Release: 2020-01-11 13:24:50
Original
5409 people have browsed it

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!

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