The following tutorial column will introduce to you how to integrate the php7.3 interpreter in PhpStorm 2021. I hope it will be helpful to friends in need!
Open thesoftware
Download and install
PhpStorm
Download php apache and install it, or directly install wamp, phpstudy and other one-click environments.
- Make sure you have installed browsers such as chrome and Firefox
- ##The first step is to enter Settings
SettingsOptions
As shown
The second step is to enter Languages&Frameworks
php option, and then continue to click on the
three dots## after the CLI Interpreter
selection #ButtonThe third step is to add php interpreter
Continue to click the
item
## Four-step PHP interpreter configuration options
After selecting the Local Path to Interpreter...
item, the configuration php interpreter path dialog box will pop up againPHP executable to select the path where the php you installed is located, and select the
php.exe
The final configuration is completed
After setting up the php.exe
file, clicktest.php in
PhpStorm and enter the following code
echo phpinfo();
As shown in the picture
The following interface finally appears indicating that PhpStorm configured the php parser successfully!
The above is the detailed content of How to integrate PhpStorm2021 with php7.3 interpreter. For more information, please follow other related articles on the PHP Chinese website!