I. Download the installer for php5, MySQL5 and Zendoptimizer and phpMyAdmin
PHP Download Address http://www.php.net/downloads.php
MySQL 4 Download Address http://dev.mysql.com/downloads/mysql/4.1.html
MySQL 5 Download Address http://dev.mysql.com/downloads/mysql/5.0.html
Zendoptimizer Download address (registration required) http://www.zend.com/store/free_download.php?pid=13
phpMyAdmin Download Address http://www.phpmyadmin.net/home_page/downloads.php
In this case, you use the
Php-5.1.2-win32.zip,mysql-5.0.19-win32.zip,zendoptimizer-2.6.2-windows-i386.exe,phpmyadmin-2.8.0.2.rar
Two. Configure the PHP environment under IIS
First unzip php-5.1.2-win32.zip to C:\php directory
) {this.resized=true;this.style.width=500;} " >
Copy all the DLL files in the C:\php directory and C:\php\ext directory to the system32 directory of the system, under Win2003 and WinXP are C:\windows\system32 directories, Win2000 is C:\winnt\ System32
) {this.resized=true;this.style.width=500;} " >
) {this.resized=true;this.style.width=500;} " >
) {this.resized=true;this.style.width=500;} " >
C:\WINNT is renamed in the System directory (C:\windows directory under Win2003 and WinXP, Win2000 is Php.ini-dist)
) {this.resized=true;this.style.width=500;} " >
) {this.resized=true;this.style.width=500;} " >
) {this.resized=true;this.style.width=500;} " >
Open php.ini with text editing software
Found it
) {this.resized=true;this.style.width=500;} " >
Change register_globals = off to register_globals = On
This is a short style to open PHP access to form data support, after the PHP4.2.0 version of this option is off by default
) {this.resized=true;this.style.width=500;} " >
Found it
) {this.resized=true;this.style.width=500;} " >
Change Extension_dir = "./" To Extension_dir = "C:\php\ext"
) {this.resized=true;this.style.width=500;} " >
Found it
) {this.resized=true;this.style.width=500;} " >
Remove the semicolon in front of the following sentence
Extension=php_mbstring.dll
Extension=php_dbase.dll
Extension=php_gd2.dll
Extension=php_ldap.dll
Extension=php_mssql.dll
Extension=php_mysql.dll
Find Date.timezone
[Date]
; Defines the default timezone used by the date functions
Date.timezone = Asia/hong_kong
Then save the modified PHP.ini
Next, configure the PHP support for IIS
First you need to install IIS on your server
Then open IIS Manager
Right-click Default Web Site Select Properties
Select the ISAPI filter tab
Click "Add"
Filter name fill in PHP
Browse Select C:\php\php5isapi.dll
Click OK
Click to apply
{this.resized=true;this.style.width=500} "resized=" True >
Select the Home Directory tab
Click "Configure"
Click "Add"
{this.resized=true;this.style.width=500} "resized=" True >
Click "Browse" to select C:\php\php5isapi.dll
Fill in the extension. php
Click OK
) {this.resized=true;this.style.width=500;} " >
Click on the "Options" tab
Tick "Enable Parent path"
500) {this.resized=true;this.style.width=500;} " >
Select the Documents tab in the Properties page of the default Web site
Click "Add"
After entering index.php, determine
) {this.resized=true;this.style.width=500;} " >
Then click "Move Up" to index.php to the top, if you want to hang the site default home page is not index.php, you can also add and ascend to the highest.
Note: Make sure that the application settings and execution permissions of the Web directory are selected as plain scripts
) {this.resized=true;this.style.width=500;} " >
Turn off Internet Information Services Manager
Next, turn on the IIS support for PHP
Click Web Service extensions on the left side of Internet services Manager
{this.resized=true;this.style.width=500} "resized=" True >
Select Active Server Pages and click on Intermediate permission to open ASP support (although for PHP this open does not matter, but the use of ASP is more extensive, if not open, or suggest to open)
On the right Web service extension, right-click, select Add a new Web service extension
) {this.resized=true;this.style.width=500;} " >
Fill in PHP in extension
Then click Add, browse click to select C:\php\php5isapi.dll
The following "Set extension status is allowed" on the hook
) {this.resized=true;this.style.width=500;} " >
OK after click, Start-run
After entering CMD, determine
Enter it sequentially
net stop iisadmin/y
net start w3svc
) {this.resized=true;this.style.width=500;} " >
Create a new test.php in the directory of the default Web site
Enter the following information
<?php
Phpinfo ();
?>
Save after
Executing in the browser
http://localhost/test.php
{this.resized=true;this.style.width=500} "resized=" True >
If all the previous configuration is correct, this will show the local PHP information
Three. Next we start installing MySQL
Current 1/3 page
123 Next read the full text