PHP Development Environment Building (Phpstorm + xampp+mongodb), phpstormxampp_php tutorial

Source: Internet
Author: User
Tags configuration php php development environment php mongodb

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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.