Windows Server R2 Configuring the PHP environment

Source: Internet
Author: User
Tags install php

1. Install windows2008 R2 46-bit
Install the R2 key step, there are a lot of such installation introduction on the Internet. In someNanchang website Construction companyThe network engineer is not detailed. The key is to choose a deployment that is appropriate for your actual application.

2. Install IIS
Windows-related software or components are now installed more and more easily, in some do not introduce more, followed by the focus.

3. Installing V11
: http://www.microsoft.com/zh-CN/download/details.aspx?id=30679
File name: Vcredist_x64.exe

If this is not installed correctly, or the installation is not correct, it is always shown to be a 500 error.4. Installing CGI


5. Install PHP
: http://windows.php.net/download/
Use IIS configuration, so download VC11 x64 Non Thread Safe version (2014-jun-25 23:06:26)
Unzip PHP5.5.14 to D: folder name: PHP
Installation: Phpmanagerforiis-1.2.0-x64.msi
: http://www.phpmanager.codeplex.com/releases/view/69115
Configuring PHP and CGI associations let IIS7.5 support PHP
(1). Install Phpmanager
(2). After you finish loading, restart IIS to see:

(3). Double-click PHP Manager to start registering the PHP path.
Select Php-cgi.exe in PHP file

Click Check phpinfo () If it works, the PHP configuration will be completed.

Windows Server R2 Configuring the PHP environment

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.