Home >Backend Development >PHP Problem >How to run php project

How to run php project

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-09-26 10:04:4719092browse

How to run php project

Open php and select "Configure".

How to run php project

Click "Settings", click "PHP" in "Languages ​​& Frameworks", and then click "..." after "CLI Interpreter".

How to run php project

Related recommendations: "php tutorial"

In the page that opens, click " " and select "Local Path to Interpreter ...".

How to run php project

Select "PHP.exe" in "XAMMP" in "PHP executable".

How to run php project

After that, click "Apply" and return to the home page.

Click "Create New Project".

How to run php project

Click "create".

Enter "alt insert", you can choose to create a file, and then name it.

How to run php project

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.

How to run php project

Choose any browser to run.

How to run php project

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!

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