IIS6 Configuration Method PHP5.6 Environment installation method

Source: Internet
Author: User
Tags php website windows download visual studio 2010

This paper mainly share with you IIS6 configuration method PHP5.6 Environment installation method, I hope to help everyone, first we come down to look at the installation of PHP environment.

First, install the PHP environment
1, open the PHP website, download PHP5.6 environment;
2, click Download, find 5.6 or other version, point to Windows download;

3, according to the computer corresponding system version download non thread safe (non-linear security), Apach corresponding download thread safe (linear security);

4, the compression package decompression, find php.ini-development or php.ini-production file, select one of the copy renamed to PHP.ini, with Notepad open, found; Extension_dir, instead of Extension_ dir = "D:\php\php-5.6.30-nts-Win32-VC11-x64\ext", find, Extension=php_bz2.dll, etc., extension= at the beginning, remove the corresponding opening ";", Here's ";" Equivalent to a comment in C #, minus the ";" That is, the equivalent of removing comments, so that the corresponding project becomes available;


Second, the configuration IIS6
1, IIS Select the deployed Web site, double-click on the right of the handler mapping, click on the right operation in the Add module mapping, the request limit check the selection of files or folders;



2, download vc++2012 runtime, this step is necessary:
PHP5.5 Series x86 Address: http://www.upupw.net/website/n33.html
php5.5 Series x64 Address: http://www.upupw.net/website/n43.html
The pro-test address may have to open several times to be effective, open and click on the "Cloud download";
Third, the detection effect:
1. Open the Web site that is deployed on IIS locally;
2. This problem may occur: Failed to load type from assembly "System.ServiceModel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" ;
3, according to MSDN explanation: if the. NET Framework 4 is installed and then the. NET Framework 3.5WCF HTTP activation is enabled, this error occurs.
4. Workaround: To resolve this issue, run the following command line at the Visual Studio 2010 command prompt: Aspnet_regiis.exe-i-enable or run in cmd: C:\Windows\Microsoft.NET\ Framework\v4.0.30319\aspnet_regiis.exe-i-enable;
Complete!

First, install the PHP environment
1, open the PHP website, download PHP5.6 environment;
2, click Download, find 5.6 or other version, point to Windows download;

3, according to the computer corresponding system version download non thread safe (non-linear security), Apach corresponding download thread safe (linear security);

4, the compression package decompression, find php.ini-development or php.ini-production file, select one of the copy renamed to PHP.ini, with Notepad open, found; Extension_dir, instead of Extension_ dir = "D:\php\php-5.6.30-nts-Win32-VC11-x64\ext", find, Extension=php_bz2.dll, etc., extension= at the beginning, remove the corresponding opening ";", Here's ";" Equivalent to a comment in C #, minus the ";" That is, the equivalent of removing comments, so that the corresponding project becomes available;


Second, the configuration IIS6
1, IIS Select the deployed Web site, double-click on the right of the handler mapping, click on the right operation in the Add module mapping, the request limit check the selection of files or folders;



2, download vc++2012 runtime, this step is necessary:
PHP5.5 Series x86 Address: http://www.upupw.net/website/n33.html
php5.5 Series x64 Address: http://www.upupw.net/website/n43.html
The pro-test address may have to open several times to be effective, open and click on the "Cloud download";
Third, the detection effect:
1. Open the Web site that is deployed on IIS locally;
2. This problem may occur: Failed to load type from assembly "System.ServiceModel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" ;
3, according to MSDN explanation: if the. NET Framework 4 is installed and then the. NET Framework 3.5WCF HTTP activation is enabled, this error occurs.
4. Workaround: To resolve this issue, run the following command line at the Visual Studio 2010 command prompt: Aspnet_regiis.exe-i-enable or run in cmd: C:\Windows\Microsoft.NET\ Framework\v4.0.30319\aspnet_regiis.exe-i-enable;
Complete!

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.