For Windows:
- Download XAMPP Lite (A Combo of MySQL, Apache Web Server and PHP5)
- Download WordPress 2
- Extract XAMPP Lite’s 7z Self-Extractor in a convenient location like, C:/xampp for example.
- Enter the C:/xampp or the location of extraction you provided and run the setup_xampp.bat in it to set XAMPP up.
- Start the xampp-control.exe executable program and click the Start buttons next to MySQL and Apache options. Now click the tray icon that appears and the Control Panel disappears to that place.
- Now test your local server, go to http://localhost/xampp/splash.php
- Choose your language there, and in the following panel, look at the left middle bottom to see a “phpMyAdmin”. Open it.
- In Create New Database put in a name, (I chose wordpress) and select the encoding as utf8_unicode_ci (optional).
- Extract the WordPress.zip to any location of your choice. I chose C:/wordpress
- Open the folder you just extracted it in (C:/wordpress here).
- Rename the wp-config-sample.php to wp-config.php. Open the thus renamed file.
- In the top part, where you see stuff like
define('DB_NAME', 'wordpress'); // The name of the database
Put DB_NAME as wordpress (or the name of the database you created) - Put DB_USER as root.
- Make the DB_PASSWORD like look like
define('DB_PASSWORD', ''); // ...and password
Notice the blank quotes instead of it being filled. - Thats it. Now move your C:/wordpress (or whatever your folder name is), into the C:/xampp (or wherever its location is) and then into the htdocs folder inside. Hit http://localhost/wordpress to see your blog in action. Happy breaking.
No comments:
Post a Comment