Home > Backend Development > PHP Problem > What should I do if php does not have a php.ini file?

What should I do if php does not have a php.ini file?

coldplay.xixi
Release: 2023-03-04 12:48:01
Original
6005 people have browsed it

The solution to the problem that php does not have a php.ini file: first create a new PHP document and view the output information in the browser; then find the specific path of [php.ini] and open the cmd window; finally enter [php - i | findstr php.ini].

What should I do if php does not have a php.ini file?

Solution to the problem that php does not have a php.ini file:

1. Create a new PHP document. The purpose is to detect the environment configuration of PHP.

What should I do if php does not have a php.ini file?

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

What should I do if php does not have a php.ini file?

#3. The above information is the configuration information of PHP. Look for: Loaded Configuration File on this page. The specific path of php.ini is in the red box.

What should I do if php does not have a php.ini file?

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

What should I do if php does not have a php.ini file?

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

What should I do if php does not have a php.ini file?

Related learning recommendations: php programming (video)

The above is the detailed content of What should I do if php does not have a php.ini file?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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