Create the first phpstorm project (phpstorm + Apache)

The first project to create a phpstorm

1. Click New Project 1
2. Choose New Empty Project
2
3. Choose New Project location (due to the use apache, so the project must be built in the htdocs under the Apache )
3
4. End of life to the project name
4

5. reaffirmed the file location is correct, click Create
5

6. Create a php file for the newly created project6

7. Click OK to the file name
7
8. Enter the following code in the newly created php file:

<?php
echo 'hello php';

9. Configure php interpreter
first use phpstorm, no configuration php interpreter prompt will pop up in the lower right corner runtime "need to configure interpreter interpreter".
You can also manually configure themselves: in file-> settings-> under languages & frameworks-> php directory configuration interface opens
8
Here Insert Picture Description
the way to confirm after
10. In the editing window, point the browser icon to start the test.
10
The first phpstorm successful project completion.

Attached: PhpStorm how to solve 502 bad gateway (summary order)

Released eight original articles · won praise 9 · views 657

Guess you like

Origin blog.csdn.net/dear_jing/article/details/104095153