In a previous post I wrote about a simple and easy way to convert your html into WordPress theme. Starting from today I will post a small series of articles that will explain the sweet little details when building a new WP theme. So first things first, we will start by explaining how to install WordPress on a local computer (Learn how to install wordpress locally on mac). By doing so, it will save you time from updating and previewing files, also we will mention some problems that you may encounter during the installation and after it.
1. First get XAMPP lite, open the exe file, and install it at the root of some of your drives, usually C, but I prefer to install it on D to keep it separate.
2. Than go to C:\xampplite (or D:\xampplite in my case) and double click on setup_xampp.bat file. Than open xampp-control.exe and start the Apache and Mysql services, the upper two boxes.
3. Now Open your browser and go to http://localhost/ and click on phpMyAdmin on the left column. Now you should create a new database by entering wordpress in the field and than select utf8_unicode_ci in the drop down box in the next field. That’s it. Xampp setup is done.
4. Now you need WordPress. Go to their site and download the latest version of WordPress, than go to the c:\xampplite\htdocs folder in which you installed the Xampp and unzip it there.
5. Than find the file named wp-config-sample.php in that folder, open it in your favourite text editor and update the database details (db_name, user, password, host).
6. Finally open your browser and go to http://localhost/wordpress/wp-admin/install.php , follow the instructions and install WordPress.
There is just one little thing left: If you already have Skype installed it will occupy port 80 which is the port that XAMPP needs to communicate with your Internet connection, so open Skype and go to Tools and than select Options. From the list select Advanced and then Connection. There is a checkmark inside where it says “Use port 80 and 443 as alternatives for incoming connections” uncheck that box and save your changes. Don’t worry, Skype will still function as usual but now XAMPP will be able to use port 80 to run.










