Hardware:
Server: iis 6
OS: windows2003
Php: php5
Mysql: mysql5.0
I encountered many problems during installation. First, I encountered the problem of iis parsing php.
1. There is a php. ini-dist file under the php Directory.
Change his suffix to php. ini.
Then, in ini, extension_dir = "C: \ Program Files \ PHP \ ext \" in front of my extension file path
Find the following content. I use extention ctrl + f to remove the previous; (semicolon ).
; Extension = php_mssql.dll
; Extension = php_mysql.dll
; Extension = php_mysqli.dll
; Extension = php_mbstring.dll
Add Environment Variables
Path:
C: \ Program Files \ MySQL Server 5.0 \ bin; C: \ Program Files \ PHP \ ext;
I added the mysql php related path.
Ensure
C: \ Program Files \ PHP \ ext path php_mssql.dll...
The following describes the IIS settings:
An error occurred while using the xp ghost version sp3,
The following describes windows2003 + IIS6
Add ISAPI filter
Name: php
Executable File: C: \ Program Files \ PHP \ php5isapi. dll
The previous status changes to green.
In the properties of the website, enter. xp (virtual directory --- configuration -- -- add
Extension:. php
Executable File: C: \ Program Files \ PHP \ php5isapi. dll
The following actions: GET, HEAD, POST
Add execution permission: script-only
Okay.
Second, an annoying "wp warning: cannot modify header information" error occurs after the file is uploaded and the wp-config.php file is set, this is because you use the windows Editor to edit the wp-config.php file when saving the use of UTF-8 encoding to save, in fact, the wp-config.php should use ansi encoding to save. You can solve the error after modifying the wp-config.php and saving it with ansi encoding.