Home >Backend Development >PHP Tutorial >WordPress installation and deployment steps in Window IIS environment

WordPress installation and deployment steps in Window IIS environment

PHPz
PHPzOriginal
2017-04-02 14:56:234151browse

Recently, in order to experience WordPress, I personally installed and configured WordPress on this machine

Record the deployment process

1. Download the corresponding software

Need to download The software is: Apache, MySQL, PHP, WordPress

Apache:Download Apache

MySQL:Download MySql

PHP :Download PHP

WordPress: To download WordPress, please go to the official website to download the latest version

2. Configure the corresponding software

1 .Apache configuration

1.zip package decompression

2.Configuration conf/httpd.conf

3.In httpd.conf Add PHP support

LoadModule php5_module "D:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php .html .htm
PHPIniDir "D:/PHP"
##2.MySQL configuration

1.zip package decompression

2 .Configure environment variables: MySQL\bin

3. Copy my-default.ini to my.ini, modify basedir, modify datadir

4. Administrator cmd, enter the MySQL directory bin folder

5.mysqld -install, install the MySQL service

6.net start mysql, start the MySQL service

(Note: If there is an error and need to be reinstalled, first mysqld -remove Uninstall)

3.PHP configuration

1.Zip package decompression

2.Configuration Environment variables: php, php\ext

3. Copy php.ini-development to php.ini, modify extension_dir, modify extension=php_mysql.dll

(before removing the corresponding item; that’s it )

4.WordPress configuration

1.Unzip the zip package

2.Copy to Apache home directory

3. Build the WordPress database in MySQL


4. Modify wp-config.php and configure the name of the corresponding database, login user, password, host, etc.

3. Install WordPress

1. Start the Apache service and log in to localhost/wordpress/wp-admin/install.php

2 .Enter the user name and password, modify the corresponding settings, confirm, and the installation is complete


3. Enter the user name and password to log in


The above is the detailed content of WordPress installation and deployment steps in Window IIS environment. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn