Install wordpress in php

Source: Internet
Author: User
Tags install wordpress

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.