Install and deploy WordPress in the javaswiis environment

Source: Internet
Author: User
Tags install wordpress wordpress database
Install and configure WordPress in person to record the deployment process on the local machine. I. the software to be downloaded for downloading the corresponding software includes Apache, MySQL, and PHP, wordPress recently, in order to experience WordPress, I personally installed and configured WordPress on the local machine.

Record the deployment process

1. download the corresponding software

Software to be downloaded: Apache, MySQL, PHP, and WordPress

Apache: Download Apache

MySQL: Download MySql

PHP: Download PHP

WordPress: Download WordPress. go to the official website to download the latest version.

2. configure the corresponding software

1. Apache configuration

Decompress the 1.zip package

2. configure conf/httpd. conf

3. add PHP support in httpd. conf.

LoadModule php5_module "D:/PHP/php5apache2_2.dll"AddType application/x-httpd-php .php .html .htmPHPIniDir "D:/PHP"

2. MySQL configuration

Decompress the 1.zip package

2. configure the environment variable: MySQL \ bin

3. copy the my-default.ini to my. ini, modify basedir, modify datadir

4. run cmd as the administrator to go to the MySQL directory bin folder.

5. install mysqld-install to install the MySQL service.

6. net start mysql and start the MySQL service

(Note: If there is an error, you need to reinstall it. first, mysqld-remove to uninstall it)

3. PHP configuration

Decompress the 1.zip package

2. configure the environment variables: php, php \ ext

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

(Remove the corresponding items)

4. WordPress configuration

Decompress the 1.zip package

2. copy to the Apache Main Directory

3. build a WordPress database in MySQL

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

3. install WordPress

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

2. enter the user name and password, modify the corresponding settings, and confirm the installation.

The above describes the installation and deployment steps for WordPress in the Windows IIS environment. For more information, see other related articles in the first PHP community!

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.