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!