Home  >  Article  >  Backend Development  >  How to set the path to view php.ini?

How to set the path to view php.ini?

coldplay.xixi
coldplay.xixiOriginal
2020-07-21 11:00:033821browse

Set the method to view the php.ini path: first select [Task Manager] and confirm that apache is running normally; then create a new php file, save it, and run it in the browser; finally, search for [Loaded Configuration in the configuration information] File].

How to set the path to view php.ini?

Set the method to view the php.ini path:

1. First, click on the taskbar Right-click the cursor and select from the pop-up menu: Task Manager;

How to set the path to view php.ini?

#2. If you see httpd.exe during the process, it means that the apache server has It is started and running normally;

How to set the path to view php.ini?

3. After confirming that apache is running normally, create a new PHP file, example:

phpinfo();

How to set the path to view php.ini?

4. Save the above file and run it in the browser. The relevant configuration information of PHP will be printed on the screen;

How to set the path to view php.ini?

5. Search in the above configuration information : Loaded Configuration File, the content is the php configuration file, the absolute path of php.ini.

How to set the path to view php.ini?

Related learning recommendations: PHP programming from entry to proficiency

The above is the detailed content of How to set the path to view php.ini?. 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