Installation environment: Windows 2008 R2 Operating system + IIS 7.5 + PHP + MYSQL + Zend + phpmyadmin
Prepare to download the necessary software (click on the link below to download directly):
1. php-5.2.17-win32-vc6-x86
2. MYSQL 5.1
3. ZendOptimizer-3.3.3
4. phpMyAdmin
Http://soft.3dns.us/php-5.2.17.zip
Http://soft.3dns.us/mysql-essential-5.1.71-winx64.msi
Http://soft.3dns.us/ZendOptimizer-3.3.3-Windows-i386.exe
Http://soft.3dns.us/phpMyAdmin-all-languages.rar
Download the above software separately, the following start installation, the specific steps are as follows:
First, install PHP
Extract the downloaded php-5.2.7.zip into the D-Disk PHP folder as shown below:
(It is recommended that the PHP folder should be placed in the D-Packing directory by tutorial, if other paths are used, please modify the relevant path in php.ini)
"Read and Execute, List Folder contents, read, write" Permissions for the D:/php folder Users group
Copy the php.ini file to the C:/windows
Open IIS, double-click Handler mappings
Open "Handler mapping" and click on the right "add module map" as shown below:
Click OK to add php-cgi
Create a new Web site Directory folder in D disk such as Webroot and give the Webroot folder Users group Read and Execute, List Folder contents, read, write permission
Create a new phpinfo.php file under the Webroot folder, which reads:
<?php
Phpinfo ();
?>
Create a new Web site on IIS and bind to webroot This folder, add "index.php" to the default home page, and then visit the site such as: http://127.0.0.1/phpinfo.php
Displays the following instructions for installation success:
If loading fastcgi not successful click-Application pool-then DefaultAppPool application pool-Select advanced Settings
Select True after enabling 32-bit applications
Second, install MySQL, directly double-click to run the downloaded MySQL installation package. The following figure:
Click Next, select a third custom installation here
Select Installation path
In order to prevent the reload system from losing the database, we chose to install the database program to D disk.
And then all the way to the next, here is the database administrator root password, two to fill in the same, the following figure:
Continue to the next step, until the following figure, click Finish to complete the installation. Please keep in mind the password you just filled in.
Third, the installation of phpmyadmin,phpmyadmin do not need to install, download directly to the site we have just built the directory can be, the following figure:
Then visit phpMyAdmin through the Web site, such as Http://127.0.0.1/phpmyadmin
The default username is root and the password is the password that was filled in when MySQL was just installed.
If you use the Web site from the extranet, you need to edit the config.inc.php file in the phpMyAdmin directory, open with Notepad, find the $cfg[' Pmaabsoluteuri ', default is
$cfg [' pmaabsoluteuri '] = "http://127.0.0.1/phpmyadmin"
Please change the http://127.0.0.1/phpmyadmin to your URL.
Four, installation Zendoptimizer-3.3.3,zend installation is relatively simple, directly double-click to run the download installation package, always click Next to complete the installation.
After the installation is complete, use phpinfo to see if the Zend is installed successfully. Open the URL http://127.0.0.1/phpinfo.php as shown in the following figure, indicating that the Zend installation was successful.