Home  >  Article  >  Development Tools  >  What should I do if phpstorm doesn't have php.ini?

What should I do if phpstorm doesn't have php.ini?

藏色散人
藏色散人Original
2023-01-19 09:23:112033browse

Solution for phpstorm not having php.ini: 1. Open the Wampserver directory; 2. Find "php.ini-development", make a copy, and change the entire file name to "php.ini"; 3. , You can view the configuration in the "php.ini" file by executing "phpinfo();".

What should I do if phpstorm doesn't have php.ini?

The operating environment of this tutorial: Windows 10 system, php7.1.7 version, DELL G3 computer

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

PhpStorm builds PHP environment and PHP.ini loss problem

##>PhpStrom

First of all, you need a

PhpStorm software. This is a commercial software. Compared with Eclipse or other software, the price is relatively daunting. No

By the way, the company that developed this software, JetBrain (Rocket Brain orz), is the company that launched Kotlin. Their other product

IntelliJ IDEA (although I think this software The name looks like gibberish), I personally feel it is the best integrated development environment on the market, it is small and smart, I simply can’t put it down. Android Studio is actually based on this software. If you are used to Android Studio and fall in love with the code completion or UI in AS, then you might as well throw away your Eclipse and use IDEA to develop JAVA, JAVA WEB, and Python. Bar.

>Wampserver

This thing is a software developed by the French, mainly to solve various troublesome problems in configuring the PHP environment. Many manually configured files have been automated.

When downloading, you will be asked to fill out a form or something, but you are not actually required to do so. There will be a line of small orange text on it telling you that you can skip filling out the form and download directly. Just pay attention.

What should I do if phpstorm doesnt have php.ini?

(Select the number of digits of the machine)

What should I do if phpstorm doesnt have php.ini?## Select the installation directory, and then proceed to next.

After installation, you will be told which browser and text editor to choose as the default software. Simply put, it means which software to use to open the corresponding php web page (i.e. .php or .phtml).

The selection method is very simple, just find the .exe of the corresponding software. If you don't know where the path of the software is, right-click the shortcut of the corresponding software on the desktop - Properties - Open File Location.

>Configure environment Open your PhpStorm and register (see above). File-Setting in the upper left corner-Configure CLI Interpreter, as shown in the figure:

What should I do if phpstorm doesnt have php.ini? Select PHP.exe in the installation directory when Wampserver was just installed:

What should I do if phpstorm doesnt have php.ini? Sometimes it will prompt that php.ini cannot be found:

What should I do if phpstorm doesnt have php.ini? At this time, open the Wampserver directory, find php.ini-development, and make a copy. Change the entire file name to php.ini:

## Then in the interface where you just configured the CLI Interpreter, click the "refresh button". What should I do if phpstorm doesnt have php.ini?

>Test your first PHP

Create a new PHP project and create a PHP File# under the project ## Enter the following code:

<?php echo "Helloworld";
phpinfo();

A Helloworld and the configuration in the corresponding php.ini file will be output.

Recommended study: "

PHP Video TutorialWhat should I do if phpstorm doesnt have php.ini?"

The above is the detailed content of What should I do if phpstorm doesn't have 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