Home  >  Article  >  Backend Development  >  Where are php configuration files stored?

Where are php configuration files stored?

尚
Original
2019-06-28 14:52:027418browse

Where are php configuration files stored?

The method to view the PHP configuration file path is as follows:

Method 1:

1. Create a new PHP document. The purpose of this document is to detect PHP Environment configuration, example:

phpinfo();

? >

Where are php configuration files stored?

2. Save the above content and view the output information in the browser

Where are php configuration files stored?

3. The above information is PHP configuration information, search on this page: Loaded Configuration File

The red box is the specific path of php.ini

Where are php configuration files stored?

If configured If you have PHP environment variables, you can use the second method:

1. Open the CMD window and enter: php -i | findstr php.ini

Where are php configuration files stored?

##2 , after pressing the Enter key to execute, you can also get the path to the php.ini configuration file

Where are php configuration files stored?

For more PHP related technical articles, please visit

PHP Tutorialcolumn for learning!

The above is the detailed content of Where are php configuration files stored?. 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