Home  >  Article  >  Development Tools  >  How to configure php environment in phpstorm

How to configure php environment in phpstorm

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-19 14:37:5955815browse

How to configure php environment in phpstorm

phpstorm's PHP running environment configuration

The first step is to click "File" in the drop-down Select "Settings..." from the menu.

How to configure php environment in phpstorm

The second step is to enter the "Settings" page, find "Languages&Frameworks" and expand it.

How to configure php environment in phpstorm

##Related recommendations: "

PhpStorm Usage Tutorial"

The third step is to find "PHP" in "Languages&Frameworks", and then Click on the "three dots" after "CLI Interpreter".

How to configure php environment in phpstorm

The fourth step is to click the “green plus sign” in the upper left corner.

How to configure php environment in phpstorm

The fifth step is to select "Local Path to Interpreter...".

How to configure php environment in phpstorm

The sixth step is to find “General” and click on the “three dots” behind “PHP executable”.

How to configure php environment in phpstorm

The seventh step is to find the installed PHP executable file in "Select Path".

How to configure php environment in phpstorm

Step 8, select the installed PHP.EXE file, click "Apply", and then select "OK".

How to configure php environment in phpstorm

Step nine, click Browser Test.

How to configure php environment in phpstorm

No need to change the port

How to configure php environment in phpstorm

The above is the detailed content of How to configure php environment in phpstorm. 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