Win7 64-bit IIS integrated PHP (original)

Source: Internet
Author: User
Tags php website
Read a lot of online tutorials, each time to manually configure the PHP environment is really a very troublesome thing. Usually long long ASP website, when the customer needs to do PHP site, or use integrated environment wampserver, but everyone should know Wampserver port number and IIS is conflict, are 80 ports. This will be very troublesome to change the port number of Wampserver, or IIS, really a bit of trouble. Next, I will teach you a simple method, but also I figured out.

Step one: Download php files on the PHP website http://windows.php.net/download/

Watch out, here a little to note, if the English good classmate, you should know this side of the attention point.


You should download the Non-thread version of PHP. I'm going to download a zip-type php file here.


Step two: Well then, change the name to PHP5, I put this on the D-plate (my habit problem)


The third step: I do not repeat how to install IIS, online a lot of tutorials. After installing IIS, we entered our theme, and I took the background of the weaving dream as an example of installation. I first put the Dream Upfile folder renamed to Dede placed under the C:\inetpub\wwwroot.


Fourth Step: IIS Add Web site, open file permissions, modify the default document, open Directory Browsing, modify ASP properties, here I do not say, I believe will be done.




After the configuration, click to browse the home page, will not be so smooth, there will certainly be problems, because so far, we have not processed PHP.


Fifth step: Formally Configure PHP

Open the PhP5 folder, locate the Php.ini-development file, copy a copy, rename the copy to PHP.ini, which is the PHP configuration file. (Typing is really annoying, for the benefit of all, no way). Edit this php.ini file to modify several of the parameter values


Note this way, there is definitely a semicolon in front of the Extension_dir, remove the semicolon, and then change the path to the back of your own PHP to put the path is good. This is one of the changes in the place, there are a few places oh, don't worry.


According to the above, modify the file, go to the point of comment (that is, semicolon). And the last one to operate on the php5 file is to copy the Php_mysql.dll file under the Php5/ext to Windows/system32, without copying this, there will be problems connecting to MySQL. (This is the premise to install the MySQL database, and remember the user name and password oh.) As for how to install MySQL, I do not repeat here, or it will appear before the horse. )

The sixth step: Also the most important step.

Click on the site you just added, double-click "Handler Mappings" on the right,


Then click "Add Module Map" on the right:


Add by graph:


Next click "Yes".


Well, it could have run, alas.


Look at this side, this side is not all supported, if there is a not, are not successful installation.


This is done after installation:


Only this blog dedicated to the people who are still in the programmer's post, hope to be useful to you, the programmer is not easy, and the line and cherish.

Welcome to visit my personal blog: blog.beyole.com Personal technology Forum: bbs.beyole.com

  • Related Article

    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.