Home > Development Tools > phpstorm > Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm

Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm

藏色散人
Release: 2021-06-26 15:08:41
forward
11783 people have browsed it

The first installationphpstormcannot run the PHP file because the environment is not configured good.

Below I will configure the PHP operating environment with PHPstorm and wampserver
Note: The prerequisite is that your wampserver or other servers can run normally
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm

1. After the installation is complete, open PHPstorm and select the upper left corner file->settings
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm

2. Select languages&frameworks->php
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm

3. Click on the back
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm## 4. Click on
±>local path…
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm 5. Click the
folder icon after PHP executable
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm 6. Select you
php.exe in the PHP folder in the bin directory under wampserver, click ok (my file path: D:\wamp64\bin\php\php5.6.16\php.exe)
Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm 7. Next, you can test whether PHP can run. For example, I output a multiplication table

<?php /**
 * Created by PhpStorm.
 * User: 1368834663
 * Date: 2019/3/8
 * Time: 16:24
 */
for($i=1;$i<=9;$i++){
    for($j=1;$j<=$i;$j++){
        echo $i."*".$j."=".$i*$j."  ";
    }
    echo "<br>";
}
Copy after login

Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm

The above is the detailed content of Detailed explanation of the steps for configuring the PHP running environment for the first time with PHPstorm. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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