The following describes how
IISIntegration on
Php,
I will not talk about cgi here, Because cgi requires too many system permissions and is not recommended for use by virtual hosts, and cgi programs are rarely used.Iis6.0 integrationPhp
Installation requirements: Windows System InstallationIIS6.0 +Php-5.1.1-Win32.zip +MysqlLatest Version + zendO 3.20 + phpmysamin2.8
I. InstallationPHP
1.Php-5.1.2-Win32.zip, which is directly pressed to D :\Php\ Directory.PHPFile Storage Directory D :\Php\
2.PHP5 is D :\Php\ Copy all dll files under ext to c: \ Windows \ system32 (the win2000 system is c:/winnt/system32/) to overwrite the existing dll files
3. Change D :\PHPDirectoryPhp. Exe,Php-Win.exe andPhpCopy the. ini-dist files to C: \ Windows (C: \ WINNT in Windows 2000), and copy C: \ Windows \Php. Ini-dist is renamedPhp. Ini, open it in notepad, and search by using the search function of notepad
Register_globals = Off
, Change Off to On;
Extension_dir =
And direct the path to yourPHPExtension_dir = "D :\Php\ Ext ";
Remove the following content.
; Extension =Php_ Dbase. dll
Optional
; Extension =Php_ Gd2.dll
This is used to support the GD library. It is generally required.
; Extension =Php_ Ldap. dll
Optional
; Extension =Php_ Mbstring. dll
If you do not select PHPMYADMIN, a red prompt is displayed. Therefore, it is required.
; Extension =Php_ Mssql. dll
This is used to support MSSQL. Optional.
; Extension =Php_Mysql. Dll
This is used to supportMYSQLTo supportMYSQLRequired
4. Internet Service Manager --- website (right-click) --- properties --- home directory --- configuration --- add --- the extension is.PhpClick Browse to point the executable filePhp5isapi. dll path, for example, D :\Php\Php5isapi. dll
5. Internet Service Manager --- Web Information Manager --- Add a new web extension --- enter:PHPAnd then direct the executable filePhp5isapi. dll path --- allow
5. Copy the following code to a text file, save it as a. bat file, and run
Net stop w3svc
Net stop iisadmin
Net start w3svc
6. Create a website and create.PhpContent is
<?
Phpinfo ();
?>
Ii. InstallationMysql
ForMySQLFor the latest version, unzip the package, double-click to execute Setup.exe all the way to Next, and select the installation directory as D :\MySQLAnd the installation method is Custom installation of Custom, Next step, the last step, skip
Start --- program ---MYSQL5.0 --- configureMysqlAnd setMysqlPassword
3. Install zendO3.2.0
Download To Get The ZendOptimizer-3.2.0-Windows-i386.exe, directly double-click the installation, installation process you want to choose Web Server, selectIISAnd then prompt you whether to Restart the Web Server, select Yes, and prompt whether to back up before the installation is completePhp. Ini. Click OK to complete the installation. Install it to D :\Php\ Zend
The directory in the following two steps is selected based on your own default WEB site directory. Of course, you can also select D :\Php\ Zend directory
The Installation Wizard of Zend Optimizer is automatically modified according to your selection.Php. Ini helps you start this engine. The following describes the configuration options of Zend Optimizer. After installation is completePhpDefault Configuration code in. ini (the content after the semicolon is commented ):
Zend_extension_ts = "D :\Php\ Zend \ lib \ ZendExtensionManager. dll"
The installation path of the Zend Optimizer module on the hard disk.
Zend_extension_manager.optimizer_ts = "D :\Php\ Zend \ lib \ Optimizer-3.2.0"
; Optimizer Directory, which does not need to be modified by default.
Zend_optimizer.optimization_level = 1023
The degree of optimization. Here we define how many optimization processes are started. The default value is 15, which indicates 1-4 of the 10 optimization processes are enabled at the same time. We can change this value to 1023, enables all 10 optimization processes.
After the phpinfo () function is called, the following information is displayed:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.2.0, Copyright (c) 1998-2006. by Zend Technologies, the installation is successful.
4. Install the GD library
This step is abovePHPRemove "; extension =" from the. INI configuration.Php_ Gd2.dll "in front of; in fact, it has been installed ~
[INPhpIn. ini, find "extension =Php_ Gd2.dll "and remove the semicolon. After the gd library is installed, use echophpinfo () to test whether the installation is successful!
5. Install phpMyAdmin:
Download the phpMyAdmin-2.8.0.zip and decompress it to D :\Php\ OrIISRoot directory, renamed phpMyAdmin-2.8.0 to phpMyAdmin
1. Find $ cfg ['pmaabsoluteuri ']
Append the phpMyAdmin address in '', as shown in $ cfg ['pmaabsoluteuri '] = 'HTTP: // www.szbar.com/phpmyadmin ';
2. Find $ cfg ['blowfish _ secret']
Enter some numbers or letters in the '', as shown in $ cfg ['blowfish _ secret'] = 'szbar ';
3. Find $ cfg ['servers'] [$ I] ['auth _ type']
The default value of ''is config and cookie. The value is changed to cookie, as shown in $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
4. Find $ cfg ['servers'] [$ I] ['user']
The default value of ''is root. If this parameter is removed, the modification is as follows: $ cfg ['servers'] [$ I] ['user'] = '';
Q: The configuration file now requires a top secret phrase password (blowfish_secret ). How can this problem be solved?
A: The installation method is set in blowfish_secret.MysqlPassword!