Home > Development Tools > phpstorm > How to use phpstorm

How to use phpstorm

angryTom
Release: 2019-10-18 13:49:12
Original
18288 people have browsed it

How to use phpstorm

##PHPStorm is a popular IDE for PHP and front-end development. How should developers use it when writing PHP code for the first time~

1. Click Create New Project

How to use phpstorm

2. Select PHP Empty Project and create a new empty directory

How to use phpstorm

3. In the project, right-click on the folder icon just created, select PHP File, enter the file name, and you can create

How to use phpstorm

4. Enter the completed php code, click on the blank space, icons of chrome, firefox and other browsers will appear in the upper right corner, select an existing icon on your computer

How to use phpstorm

5. By default, the browser will prompt "bad gateway". At this time, you need to configure phpstorm to use the PHP interpreter (that is, let PHPStorm find php.exe File)

How to use phpstorm

Method 1: A "configured" prompt appears in the lower right corner of the compiler, click "configure PHP Interpreter"

How to use phpstorm

##Method 2

: Click "File->Settings", and open the PHP language configuration

How to use phpstorm

How to use phpstorm

6. Click the rightmost "..." of "CLI Interpreter", click " ", and select "Local Path"

How to use phpstorm

7. Click "..." on the right side of "PHP executable", find the existing "php.exe" on your computer, select it, click "OK", and then OK all the way.


How to use phpstormHow to use phpstorm##8. After the configuration is completed, run the code again, and

will be displayed normally.

Recommended tutorial: How to use phpstormphpstorm usage tutorial

The above is the detailed content of How to use phpstorm. For more information, please follow other related articles on the PHP Chinese website!

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