Home >Backend Development >PHP Tutorial >WordPress installation and deployment steps in Window IIS environment
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 decompression2 .Configure environment variables: MySQL\bin3. Copy my-default.ini to my.ini, modify basedir, modify datadir4. 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 decompression2.Configuration Environment variables: php, php\ext3. 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
3. Install WordPress1.Unzip the zip package2.Copy to Apache home directory3. Build the WordPress database in MySQL4. Modify wp-config.php and configure the name of the corresponding database, login user, password, host, etc.
1. Start the Apache service and log in to localhost/wordpress/wp-admin/install.php2 .Enter the user name and password, modify the corresponding settings, confirm, and the installation is complete3. 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!