PhpStorm php configuration environment

 

  If you need to install the PHP environment on Windows and use PhpStorm for scripting and compilation, without the need for WEB environment display, then this summary is suitable.

  Software environment: Windows10+PHP7.1+PhpStorm2018

0x00 Download software

PhpStorm2018 download address: click to download

PHP7.1 (PHP5.6 version can also be used) download address: click to download

0x01 Install PhpStorm software

  1) The PhpStorm installation process can be directly "Next" until the installation is completed.

  2) Open PhpStorm for activation. First, open http://idea.lanyus.com/ in the browser, click "Get Registration Code", and copy the registration code for later use.

  Other Licence Server activation: (The following is always possible))

http://idea.imsxm.com/ 

http://www.0-php.com:1017

http://idea.singee77.com/ 

http://idea.lanyus.com/ 

http://idea.qinxi1992.cn/

  

 

  3) After the installation is complete, open the software, and select the menu bar Help -> Register-> Activation code -> enter the copy verification code -> OK to complete.

  4) Sinicization. Download the Chinese package link: Baidu network disk  password: zcv5, extract the files to ($installation directory\lib) F:\PhpStorm 2016.3.2\lib directory, restart.

0x02 Install PHP

  1) PHP7.1 (you can also use PHP5.6 version) download and extract it to a certain directory.

  2) Enter the PHP installation directory, copy a copy of php.ini-development and rename it to php.ini and put it in the installation path, open it and find "extension_dir", remove the comment, and change the value to "PHP installation path\ext".

0x03 PhpStorm configure PHP

  1) Open file->setting->PHP (file-->settings), (if the "settings" cannot be opened after localization, please go to the Chinese package path to temporarily remove or change the Chinese package resources_cn.jar to resources_cn.jar. bak)

  

  

  2) Don't forget to change the Chinese package resources_cn.jar.bak back to resources_cn.jar

  The test compilation is complete.

 

  

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325278994&siteId=291194637