Install & Configure Apache, PHP, JSP, Ruby on Rails, MySQL, PHPMyAdmin & WordPress on Windows XP/2000
WordPress requires PHP and MySQL. On the WordPress download page, click on "Download .zip".
File Name: wordpress-2.0.zip
Download Location: http://wordpress.org/download/
WordPress 1.5.2 installation instructions are also available.
- Unzip wordpress-2.0.zip to your DocumentRoot directory.
Note: If you want the WordPress blog to be the main site, put the contents of the "wordpress" directory directly into the DocumentRoot directory. Otherwise, create a subdirectory. For this guide, we put into C:\Program Files\Apache Group\Apache2\htdocs\wordpress
- We need to create a database for WordPress to use.
- Open http://localhost/phpmyadmin.
- Enter a database name (e.g. "wordpress") and click Create.
- Click the "Home" icon (), and then click .
- Click Add a new User.
- Fill in the login information and then click Go (scroll down to find the Go button).
Note: This user will be wordpress itself. I use "wordpress" as the user name.
- Under "Database-specific privileges", select wordpress from the dropdown.
- Click "Check All", and then click Go.
- In the wordpress directory, create a copy of the wp-config-sample.php file and rename it to wp-config.php. Make the following changes:
Line 4 - This is the same username you just created above.
Line 5 - This is the password used.
- Open http://localhost/wordpress/wp-admin/install.php. Click First Step ».
Note: If you get an error "Your PHP installation appears to be missing the MySQL which is required for WordPress.", try the following:
Open C:\php\php.ini and make the following changes, and then restart Apache.
mysql.default_host = localhost
mysql.default_user = root
- Enter your blog title and your e-mail address, and then Click Continue to Second Step ».
- The next screen will give you a default password for the admin account. Remember this password!
- Visit http://localhost/wordpress/wp-login.php. Login with "admin" and the password given above.
- You should see the Dashboard.
Note: You can always return to the dashboard by visiting http://localhost/wordpress/wp-admin/.
There are almost unlimited configuration options for WordPress. From the Dashboard, click on the Options page to see for yourself. Here's some things I recommend at a minimum.
- On the Options tab, setup your timezone. The default is U.S. Eastern Standard Time (UTC -5).
- On the Users tab, change the password for admin to something you can remember and add a normal user account to use.