Configuration environment: WINXP SP3 + iis5.1
Apache version for apache_2.2.6-win32-x86-no_ssl.msi
PHP version for php-4.4.2-Win32
Port 80 must be empty when Apache is installed.
Search and download Apache and install Apache on the Internet. Three input boxes will appear during installation, which are about the domain name and email address. You can enter the box as needed, and then press the default next step until the installation is complete. When the installation is successful, a green triangle icon will appear in the taskbar, indicating that the installation is successful.
Next began to configure the PHP file, download the php-4.4.2-Win32, decompress to E: \ PHP, do not extract the folder with a Chinese name, so as not to add ing in IIS.
Decompress the package and find PHP. ini-Dist file, copy it and change it to PhP. INI, open and search in Notepad; Extension = php_mysql.dll, change it to extension = php_mysql.dll, and continue to search extension_dir = ". /"changed to extension_dir =" E: \ PHP \ ". The last oblique rod should not be less. Save and quit, and copy it to c: \ windows.
Find the php4ts. dll and libmysql. dll file under E: \ PHP \ folder and E: \ PHP \ DLLs, and copy it to the c: \ windows \ system32 folder.
Open IIS, create a virtual directory, open the virtual directory-main directory-configuration-add, browse to E: \ PHP \ SAPI \ php4isapi. DLL, enter in the extension. PHP. If the following OK button cannot be clicked, it may be because your PHP installation package is placed in a directory with Chinese characters. Then, exit all the way and create a file test under the virtual directory. PHP
Enter the following content:
<? PHP
Phpinfo ();
?>
Test whether the installation is successful ..
If you have misconfigured PHP for the first time, please note that.