PHP Development Environment Building (Phpstorm + xampp+mongodb), phpstormxampp
Phpstorm installation Download Baidu network disk resources Phpstorm 9.0.1 (with serial number) HTTP://PAN.BAIDU.COM/S/1KTVX0JL
XAMPP installation Download Baidu network disk resources xampp_win32_5.6.14 Http://pan.baidu.com/s/1eQ6rdRW
MongoDB installation Download Baidu network disk resources Http://pan.baidu.com/s/1c00p1hI
PHP environment variable configuration:
Create a new system variable (right-click Computer Select Properties, advanced environment variable, new): Variable name:php_home Variable value: install xampp path \xampp\php
Edit Path variable (right-click Computer Select Properties, advanced-environment variable, select path-> edit) plus ;%php_home%;%php_home%\ext
PHP MongoDB Extension Installation configuration:
My PHP version is 5.6.14, which corresponds to Php-mongo-1.6.8-5.6-vc.dll
Baidu Network disk Php-mongo each version of the file Http://pan.baidu.com/s/1o6vlxfO please select the appropriate system and PHP version of the extension download
Rename it to Php-mongo.dll and put it in Xampp/app/ext
And in the php.ini file (generally can find in the \xampp\php\ folder PHP.ini, Notepad can be opened) corresponding location add extension = Php_mongo; Such as:
If the Php-mongo version does not correspond to your PHP, the command line input php-version will appear as a result:
A successful installation should be
To start Apache:
If you do not use MySQL, you can only start Apache. After startup, you can see the Apache page after the browser enters localhost enter
And then you can write your PHP in Phpstorm.
If you open the PHP page appears 502 Bad Gateway, Phpstorm will remind you configured PHP interpreter, follow the reminders to configure your PHP interpreter, such as:
If the 502 bad gateway is still present, you can open Apache>conf>apache (httpd.conf) for configuration, such as:
Locate DocumentRoot and , DocumentRoot and set the directory for your project.
DocumentRoot "Your project location is like E:/project/engineering/src/web/portal/infomask/web"
Just learned PHP soon, this is the process of my configuration PHP environment, there is a wrong place to look advice ~
http://www.bkjia.com/PHPjc/1075962.html www.bkjia.com true http://www.bkjia.com/PHPjc/1075962.html techarticle PHP Development Environment Building (Phpstorm + xampp+mongodb), phpstormxampp phpstorm installation download Baidu network disk resources Phpstorm 9.0.1 (with serial number) http://pan.baidu.com/s /1KTVX0JL xampp installation ...