How to setup wordpress on localhost?
October 30, 2008 by: RanjithThis is very simple using XAMPP.
- First download the xampp from http://www.apachefriends.org/en/xampp.html
- Extract the file and double click the exe. This will install Mysql and Apache servers.
- Once the installation is complete, you will find XAMPP under Start / Programs / XAMPP. You can use the XAMPP Control Panel to start/stop all servers. Start Mysql and Apache servers.
- Now open any browser(IE or Mozilla) and enter the address as http://localhost/
- Select your Language
- Now click phpMyAdmin
- Create a new database for your wordpress website. Under MySQL provide the new database name for example "wpdatabase" and select "utf8_unicode_ci", click create.
- Download the latest wordpress codes from wordpress.org
- Extract and copy folder "wordpress" to C:/Program Files/XAMPP/htdocs/
- Open the file wp-config-sample.php in notepad.
- Fill the details as below
define('DB_NAME', 'wpdatabase'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // password
define('DB_HOST', 'localhost'); - Now open http://localhost/wordpress, provide the website name and email ID and click next.
- Login using obtained password and admin as username.
- View your first local wordpress website by browsing http://localhost/wordpress


I am using web developer sever suite on my local machine, but i am facing a problem that after successfully installing wordpress latest version when i log in to my wp admin panel i found wordpress old version and only two default themes works. can you please hep me that if there is any other configuration required?