windows 2003 iis+php5+mysql+phpmyadmin detailed installation stepssupport asp.net php mysql gmail The point to note is that the installation is to choose asp.net. Second the next step is to install php; find a place for the next php5 source code package such as ://.phpchina.com/manual/php/php-5.2 After .0-Win32.zip is downloaded unzip it to the c:\\php\\ directory (the php directory is built by yourself) 1. First import the two registration files 2. Then copy the file with the extension .dll Go to c:\\WINDOWS\\ (you can choose according to your needs) 3. Copy all the extensions under ext to .dll under c:\\WINDOWS\\system32\\ (you can choose according to your needs) 4. Modify php.ini as follows: A few points: use the search function
register_globals = Off
off change to on
extension_dir =\u0026quot ;d:\\php\\ext\u0026quot; (here the \u0026quot;d:\\php\\ext\u0026quot; directory is the ext under the PHP installation directory. If your PHP is installed under c:\\php then here should be written as extension_dir =\u0026quot;c:\\ php\\ext\u0026quot;)
upload_tmp_dir = d:\\php\\upload_tmp (The upload_tmp directory here is created by itself and there is no such folder by default. Try to \u0026quot;do not use\u0026quot; special characters)
Remove some common functions in front; that is enable the corresponding module function
here I enable the corresponding module
The detailed function description of the module will follow
;session.save_path = \u0026quot ;/tmp\u0026quot;
session.save_path = \u0026quot;d:\\php\\tmp\u0026quot; (The tmp directory here is created by yourself and there is no such folder by default. Try to \u0026quot;don’t use it\u0026quot; special Character) 5. Configure IIS to support PHP:
Expand the IIS directory tree
Right-click \u0026ldquo;Website\u0026rdquo;--select \u0026ldquo;Properties\u0026rdquo;---select\u0026quot;home directory \u0026rdquo;---Select \u0026quot;Configuration\u0026quot;---Select \u0026quot;Application Mapping\u0026ldquo;option----\u0026ldquo;Add\u0026rdquo; button to add an extension mapping click \u0026ldquo;Browse in the pop-up window \u0026rdquo;Point the executable file to the location of php5isapi.dll
The example in this article is: C:\\php\\php5isapi.dll
The extension is .php and the action is limited to \u0026rdquo;GETHEADPOSTTRACE\u0026ldquo ; select \u0026ldquo;Script Engine\u0026rdquo;\u0026ldquo;Confirm whether the file exists\u0026rdquo;select and click\u0026quot;WEB Server Extension\u0026quot; to add an ISAPI extension allows
the extension to be PHP \u0026quot;add\u0026quot;---this article example It is: C:\\php\\php5isapi.dll
and check the extension to allow
After the above operation is completed you need to restart the IIS and the PHP runtime environment will take effect.
After the restart is complete test whether PHP Can run normally.
Create a text file and save it as 123.php
If The running information can be displayed normally then the running environment of PHP has been configured.
Three install Zend 2.6x or above version 2.6x
The example uses ZendOptimizer-3.0.1 (get it after downloading: ZendOptimizer -3.0.1-Windows-i386.exe file double-click to install)
Please see the operation for the installation steps here my installation path is c:\\zend
Zend will automatically configure php.ini to enable during the installation process Zend module after installation you can see that the php.ini file will finally be written:
zend_extension_ts=\u0026quot;c:\\Zend\\lib\\ZendExtensionManager.dll\u0026quot; (install similar software or similar software to the same directory which is easier to manage) [Zend]
zend_extension_ts=\u0026quot;C:Program FilesZendlibZendOptimizer.dll\u0026quot; Now I will introduce the meaning of the configuration file above:
zend_optimizer.optimization_level// The optimization level here defines how much to start An optimization process.
zend_optimizer.encoder_loader //Whether it is allowed to process PHP files encrypted by Zend Encoder.
zend_extension_ts //The directory where the optimizer is located.
Four install the GD library
remove the php.ini; extension=php_gd2.dll in front; that’s it
Five install MYSQL
The installation is relatively simple the next step is ok 6. Installation of phpmyadmin
After decompression you will get a phpMyAdmin directory (you can rename it) find the config.inc.php file in the directory open
modify The URL of the phpMyAdmin you will upload to the space
Such as: $cfg['PmaAbsoluteUri'] = '://qshy.cublog.com/phpmyadmin/'; and the following
$cfg[' Servers'][$i]['host'] = 'localhost'; (Usually the default there are exceptions) $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config or cookie based)?
$cfg ['Servers'][$i]['password'] = ''; // MySQL password (only needed
You don’t need to set $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name only (you only have one piece of data just set it) and set it
$cfg['DefaultLang'] = 'zh'; This image must be set
$cfg['blowfish_secret'] = '' //Authentication string (just write just one don’t be empty)
After setting you can upload it to the Internet. Browse ://qshy. cublog.cn///Of course you use that URL if you have different settings.
If you set the cookie there will be the following login window?Windows 2003 SP2 Simplified Chinese Version Download Address-Computer Knowledge Network