How to build php with idea: 1. Download wampserver and install it; 2. Set the path environment variable of system php; 3. Download the "phpunit.phar" corresponding to the wamp version; 4. Install the php plug-in with idea .
The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.
How to build php with idea
IDEA: PHP installation, environment setup
1. Environment setup
1. Download wampserver3_x86_apache2 .4.17_mysql5.7.9_php5.6.15 and phpunit-4.8.36.phar
Download link: https://pan.baidu.com/s/1WCwPF3riZVLbzZKliQrr_w Extraction code: xean
2. After installation, configure the php environment. For example, in my system, the path environment variable of php is D:\php\wamp\bin\php\php5.6.15
3. Download the phpunit.phar corresponding to the wamp version (wampserver5 .6.15 corresponds to phpunit-4.8.36.phar)
2. PHP development with idea
1. Idea installs php plug-ins
Install the following two plug-ins (executed Remember to press "Apply")
## Recommended learning: "PHP Video Tutorial 》
The above is the detailed content of How to build php using idea. For more information, please follow other related articles on the PHP Chinese website!