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!