Home > Article > Backend Development > How to run php project
Open php and select "Configure".
Click "Settings", click "PHP" in "Languages & Frameworks", and then click "..." after "CLI Interpreter".
Related recommendations: "php tutorial"
In the page that opens, click " " and select "Local Path to Interpreter ...".
Select "PHP.exe" in "XAMMP" in "PHP executable".
After that, click "Apply" and return to the home page.
Click "Create New Project".
Click "create".
Enter "alt insert", you can choose to create a file, and then name it.
Enter the code:
<?php /** * Created by PhpStorm. * User: lijy2 * Date: 2018/9/18 * Time: 14:05 */ echo "Hello world"; ?>
Move the mouse to the upper right to see the running method.
Choose any browser to run.
The above is the detailed content of How to run php project. For more information, please follow other related articles on the PHP Chinese website!