Home  >  Article  >  Backend Development  >  where is the php file

where is the php file

藏色散人
藏色散人Original
2019-11-07 09:54:364787browse

where is the php file

Where is the php file? How to check where the PHP configuration file php.ini is?

Create a new PHP document. The purpose of this document is to detect the environment configuration of PHP. Example:

<?php
phpinfo();

where is the php file

Save the above content in the browser Check the output information

where is the php file

The above information is the configuration information of PHP. Find on this page: Loaded Configuration File

The red box is php. The specific path of ini

where is the php file

If you configure PHP environment variables, you can use the second method,

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

where is the php file

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

where is the php file

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of where is the php file. 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
Previous article:Where to write php fileNext article:Where to write php file