Manually Installing Apache Server on Windows 7

If you have any previous version of Apache (MSI Installer from apache.org) installed on your system, please uninstall it first from Add/Remove program.

Download Apache Web Server from:

http://www.apachelounge.com/download/ - Windows 32bit
http://www.apachelounge.com/download/win64/ - Windows 64bit

Moving Wordpress from hosting to Localhost

Moving WordPress from hosting to localhost can be done in several ways. But in this time I will try to explain two of them.

The first way (the easiest one) is by using Wordpress Export/Import Tools.

But before we begin to move the WordPress from hosting to localhost make sure that you have already installed a fresh copy of Wordpress on Localhost. You can follow the instruction here on How to Install WordPress on Localhost.

How to Install WordPress on Localhost

Before we begin installing Wordpress on Localhost make sure that you have installed a web server (Apache) with PHP and MySQL and they are running properly.

Download the latest version of Wordpress at http://wordpress.org/

After you've finished downloading the file, unzip the file and copy all files and folders into the Apache Document Root.

If you follow the instruction here on "How to install Apache Server on Windows 7" the Apache Document Root is "D:\My Websites"

Please read the Wordpress "readme.html" included in the Wordpress installation folder to ensure that your Local Server meet the minimum system requirements.

How to create a MySQL database

To create a MySQL database on Localhost can be done in many ways but in this article we will create a MySQL database from the Command Line and using phpMyAdmin.

Creating a MySQL database from the Command Line

From the "Start" menu, in the search box type in "cmd" and press Enter.
Once the Command Prompt is open type in "mysql -u root -p" then press Enter.
Enter your MySQL Password then press Enter.

In this example we will going to create a MySQL database called "mydb" and Collation type is utf8_general_ci.

So in the MySQL Shell type in the lines below: