Using XAMPP For Local WordPress Theme Development
Using XAMPP For Local WordPress Theme Development
UsingXAMPPforLocalWordPressThemeDevelopment
In this tutorial, youll learn how to install and con gure XAMPP for the desktop. Once thats out of the
way, well install WordPress so that you can have your very own professional, light-weight PHP and
WordPress development environment.
Introduction
To sum it up in one sentence: XAMPP, which stands for Cross-Platform (X) Apache, MySQL, PHP
and Perl, is a popular, free and open source web server package that you can use to install a web
server onto your desktop.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
1/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
XAMPP allows you to develop PHP and Perl-based server-side scripting applications without
the need for a remote web server, offering you the opportunity to work faster, develop stuff
more securely, and work on your apps without an internet connection.
In this tutorial youll see exactly how XAMPP can do splendid things to your development
cycles.
Were going to use a simple xampple (sorry, I had to get that out of the way, been thinking about
saying that for a long time): were going to install XAMPP and WordPress with some test data to
have WordPress right on our desktop.
This tutorial is for Windows Vista, so youll have to tweak the steps involved depending on your
operating system. Heres what youll be doing in this tutorial:
Objectives
Downloading and Installing XAMPP
Starting up your Apache and MySQL services
Installing and con guring WordPress locally
Creating a MySQL database for WordPress
Creating a MySQL database user for WordPress in phpMyAdmin
Importing some test data for WordPress using an XML le
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
2/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
This tutorial covers installing XAMPP in Windows Vista, so youll have to tweak the steps a little
bit if youre using a different operating system.
http://www.apachefriends.org/en/xampp.html
2 Choose the package you want: for normal web development, just go with the Basic Package.
The Basic Package comes with a host of useful applications, libraries, and extensions such as
phpMyAdmin (which well use to set up WordPress later on) and eAccelerator (a popular PHP
caching application to optimize and improve PHP script performance). For this tutorial, choose
the Installer version.
Download it (Save File) onto your computer.
3 Open up the executable (for Windows users, its called xampp-win32-1.7.1-installer.exe).
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
3/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
The following gure shows the rst dialog box; it asks you to select which language you want to
use.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
4/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
The next dialog youll see is the rst page of the XAMPP Setup Wizard.
5/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
5 Con gure your options in the XAMPP Options dialog box. For this tutorial, just go with the
default installation options.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
6/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Thats it for the installation, quick and painless wasnt it? Lets re up Apache and MySQL.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
7/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
7 The XAMPP Control Panel should look like the following gure:
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
8/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
8 Click the Start button beside Apache. If youre on Windows, youll get a Windows Firewall
warning: choose Unblock.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
9/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
9 If all goes well, you should see the XAMPP Control Panel log updated with "Apache Started",
and "Running" with a green background right beside the Apache service.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
10/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
http://localhost
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
11/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Congratulations, you now have your very own locally hosted (localhost) web server!
Depending on your operating system, youre now the proud owner of a WAMP (Windows
users), MAMP (Mac OS X users) or LAMP (badass Linux users) server right there inside your
computer.
Now lets move onto installing WordPress on your machine. First, were going to set up your
WordPress MySQL database and create a MySQL database user for it. Thats the topic for the
next section.
http://localhost/phpmyadmin/
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
12/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
14 Create your WordPress database by entering in a name and pressing the Create button.
In this tutorial, well call it wordpress_db. Youll need to remember this value for a later step
when we con gure WordPress.
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
13/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
14/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
18 For the User name eld, type in any name, this tutorial uses wordpress_user for simplicity.
For Host, select Local.
For Password, type in a value, but its highly recommended that you use the Generate
Password button to randomly generate a password for better security.
Once you hit the Generate Password button, click on Copy button right beside it to copy it
automatically in the Password and Re-type elds.
Important: take a note of the User name and Password you used, well be using it later on.
SIX
Here REVISIONS
are the settings used:Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
15/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
19 Set the Global Privileges of wordpress_user. Typically, you should try to limit the privileges
of your database users to a minimum to improve security.
For this example, since its a local installation just check all of them. When you go into
production, pare down the privileges!
Hit the Go button to create the database user.
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
16/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
20 If everything went well, youll see a con rmation that youve created the user successfully.
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
17/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
22 Check that wordpress_user has been added to the database by entering your database.
To enter your database, click on wordpress_db in the left-hand navigation.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
18/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
23 Click the Privilege tab to see all users that have access to your WordPress database. You
should see wordpress_user listed in the Privilege section.
Alright, youve just learned how to create a MySQL database user using phpMyAdmin. Give
yourself a pat in the back before moving on!
Menu
SIX REVISIONS
Installing WordPress on your computer
If youre not familiar with the process of installing WordPress, you should take a look at the
following guide on the of cial WordPress.org site rst:
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
19/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Installing WordPress
This guide will get you up and running with the general process that well be taking. Please take
a moment and read it I promise, itll be quick and painless.
24 Download the latest version of WordPress, save it on your computer.
25 Open your xampp folder. Navigate to the htdocs folder.
If you used the default installation destination, the le path is:
C:\xampp\htdocs
26 Open up the WordPress ZIP le you downloaded. Extract the entire contents in the htdocs
folder.
20/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
28 Once youre done with the con guration le, save it as wp-con g.php in the same folder.
Note: You have to save it as wp-con g.php and not wp-con g-sample.php.
http://localhost/wordpress/wp-admin/install.php
30 If you did everything correctly, you should be greeted by the following screen:
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
21/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
31 Just hit the Install WordPress button, and follow the steps. If this is your rst WordPress
installation, read the steps of the installation dialog carefully as we wont be covering it here in
detail.
http://localhost/wordpress/
If everything went well, you should see the default WordPress home page:
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
22/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Important: take a note of the auto-generated password or else you wont be able to log into
WordPress.
SIX REVISIONS
Menu
http://localhost/wordpress/wp-admin
Alternatively, you can continue in the tutorial (because were not done yet).
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
23/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Next, were going to import some test data which you should do when youre developing
WordPress themes to be released to the public.
http://svn.automattic.com/wpcom-themes/test-data.2008-12-22.xml
http://localhost/wordpress/wp-admin
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
24/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
35 In the WordPress admin section, go to Tools > Import (using the sidebar navigation on
version 2.7).
SIX REVISIONS
Menu
25/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
38 Assign the authors of the post. The XML le created a testing author named Noel Jackson
for you.
If
youREVISIONS
dont want to assign Menu
the test posts to Noel Jackson, use the or map to existing eld and
SIX
select the author you want. For this tutorial, assign it to admin.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
26/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
27/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
40 Check to see if the import went according to plan. Easiest way is to go to the home page of
your WordPress installation (http://localhost/wordpress).
41 In the home page, youll see that theres now content for your WordPress installation. This
way you can easily check and test your theme for public release.
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
28/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Menu
Themes
section for themes youd like to try out. Alternatively, check out
our lists of free WordPress themes: Excellent Free WordPress Themes and Beautiful Free
WordPress Themes.
29/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Create a folder under the xampp > htdocs and put some test PHP scripts in it. As you can see,
you dont need a web server anymore, you have a fully-featured MySQL and PHP server right
there in your computer. Go develop some cool web applications!
Summary
In this tutorial, you just learned how easy it is to install XAMPP to the desktop so that you can
have your very own PHP web development testing server. More speci cally, this is what we did
together:
Installed XAMPP
Started the Apache and MySQL Services
Created a MySQL database
Created a MySQL database user
Installed and con gured WordPress
Imported some test data
Further resources
Install WordPress On Your Mac Using MAMP on Free Mac Blog.
Installing XAMPP on Linux called Install XAMPP for easy, integrated development.
Learn more about XAMPP in the apache friends xampp home page.
Discover phpMyAdmin and how to use it in the phpMyAdmin of cial site.
Related content
SIX REVISIONS
Menu
30/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Previous Post
Next Post
464 Comments
SIX REVISIONS
Menu
31/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
Wow thats got me up and running very fast thank you very much :)
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
32/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
33/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
34/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Really detailed tutorialz, this is exactly what i am looking for websites offering guidance /
lessons. Keep posting and i make sure that i keep on reading it :D.
SIX REVISIONS
Menu
That means that if you work with custom elds or a certain way of working in WordPress that
will all be available to you in XAMPP
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
35/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
36/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
You should do a follow up on migrating to a online host. It can be a real headache sometimes.
SIX
REVISIONS
Hi,
Menu
Very detailed tutorial but I think its more easy to use on WAMP. I am using XAMPP and WAMP
both. WAMP is more user friendly than XAMPP.
Madhav
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
37/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
38/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
@tao: right on
great tutlove the content you publish.
39/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
40/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
Excellent article. I rst looked at the steps and thought oh thats too much. Then I said F it, just
do it. It seriously went awless thanks to your screen shots. It took me less than 30 minutes. Im
using XP and didnt have any issues. Thanks.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
41/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
42/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
I havent set up XAMPP but I probably will because it will allow me to follow your screenshots.
Thanks
Keith D
Jacob
Gube May 13 2009
Menu
SIX REVISIONS
@emmei: Its no trouble emmei, lets work through this together. First: what operating system
are you on?
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
43/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
I have written the article, loading wordpress locally in a WAMP Server and Customizing it!,
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
44/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Jacob
Gube May 29 2009
Menu
SIX REVISIONS
@DemoGeek: Not sure, but theres de nitely an issue with running an IIS server, in general. :)
Im just teasing, Ive been having problems today with Drupal on an IIS server (PHP mail()
function, quite obviously).
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
45/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
46/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
tutorial as a production environment? With regards to the former Ive never encountered that
set-up (VPCs are fairly new and I still use Vista), so I couldnt say for sure.
SIX REVISIONS
Vikas Jun 16 2009
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
47/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
This is my rst time i read this article which i just stumpled upon..
I have never seen such a detailed article on anything till now.
YOU ARE THE BEST
I am goin to try and build it now.
I have a small question.
Can u write an article on how to upload wordpress them on free web hosting site like 110mb or
anything. so that some bloggers can use .co.cc domain and have their independent domain
without a single penny.
Many will love it.
and follow the comments via email link plzzzz
SIX REVISIONS
Thanks a lot
Menu
48/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
MH Jun 27 2009
Very nice tutorial Jacob.. really helpful!
RM Jun 30 2009
Dear Jacob:
Menu simple step by step instructions with screen shots that made
SIX
ThankREVISIONS
you for your very detailed
installing wordpress locally go smooth. I used xamp lite. I had reached an stage where the
tutorials seemed too technical or are written in such a way that leaves out steps or as if the user
is supposed to know things they dont. Im now on the search for a tutorial as simple to
understand for actually uploading live. Thanks again
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
49/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
50/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
v Jul 10 2009
this explanation saved my week. i cant believe how much trouble i was having setting up a
simple wordpress install. THANK YOU!!
Menu
51/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
Hi,
Thanks a lot for writing such an amazing tutorial. It really helped me a lot and saved my time to
understand the entire installation and con guration procedure.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
52/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
53/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
54/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Thank you a million times over. Worked like a charm. I had tried this once before with no
success, until this one!
Luis
Aug 21 2009Menu
SIX Lopez
REVISIONS
is ok i found a solution, anyway really thanks for this great tutorial, now I can start really my
wordpress theme development.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
55/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
56/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
57/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Brad
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
58/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
wow! This article blew me away. really helpful and downright east to follow. Thanks so much! :)
SIX
REVISIONS
Thanks!
Menu
59/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Honestly, I have spent HOURS both researching this process, reading forums, dealing with tech
support with my hosting company. Minimum 10 hours. Bottom line folks this is your one stop
shop for this process this article is brilliant.
I noticed Jessica asked how to make it secure. Although this article is basically perfect, the
security process was another all nighter for me and would be helpful! If I nd one of the links I
used Ill be sure to post it for refernce!!
Thank you
SIX
Hi, REVISIONS
Menu
I have installed xampp server in my winxp sp2 system. directory used is d:/xampp
I have also installed wordpress in htdocs of the xampp and put all the wordpress les in a folder
blog. I had made an index.html le of my own in htdocs folder and made a link there for my
wordpress blog. I also removed the default index.php le that is present in htdocs directory.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
60/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
It works perfectly on my local machine. when i type localhost in my browser, the index.html le
created by me appears and when i click on go to my blog link then the wordpress blog page also
open well.
The problem is that when I try to open my wordpress blog globally(means through internet
from some other pc). it doesnt open.My domain name is hozefa.blogsite.org that I am hosting
from my own pc. when I type my domain name in the browser the rst index.html le opens but
when I click on go to my blog link, it doesnt work. An 403 Error message appear. what is the
problem? How we can solve this problem? Please help me!
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
61/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
62/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
I am a bit stuck though and cant seem to get my head around something.
I created a new folder under the htdocs sitetwo
It is an empty folder.
I visit http://localhost/sitetwo and get the
Index of/sitetwo Page
My question and this may seem obvious to some but I am bamboozled
What do I put in the empty folder to give me a site
When I visit http://localhost/sitetwo/wp-admin.php
I get Object not found (because the folder is empty right?)
Do I need to install wordpress into that folder.
I appreciate any help and I have been stuck on this for hours other wise I wouldnt bother you.
Thanks
Steve
SIX REVISIONS
Steve
Menu
63/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Jacob, wonderful to provide such good detail. Everything went very smoothly for me running
under XP.
The only problem I have is that although I see the homepage ne:
http://localhost/wordpress/
when I try to navigate to any other page or content, it redirects to the xampp page here:
http://localhost/xampp/
The structure is:
xampp > htdocs > wordpress
In the htdocs folder I just have the main wordpress folder, another xampp folder, and index.php
index.php contains:
Something is wrong with the XAMPP installation :-(
Please any clues here ? Im twisting my hair in knots trying to see what Ive missed !
thanks
64/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
65/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Thank you!
66/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
67/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Thanks!
SIX REVISIONS
Menu
68/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
69/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Ive just installed WP 2.9.1 with XAMPP Windows 1.7.3 in my Vista PC.
How To Install WordPress Locally With XAMPP
SIX REVISIONS
Menu
70/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
(VPS) or Dedicated Server where you also have to set up your web server?
SIX
MarcREVISIONS
Feb 19 2010
Menu
71/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Marc
SIX REVISIONS
Menu
Jacob,
It goes all well till step 28, but when i try to open the link given in step 29. it gives following
error.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
72/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
73/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
MC Mar 07 2010
Hi,the site url is localhost/wordpress or something similar,and when i go to my actual
wordpress account there is no upload theme button,any ideas?
thank you
SIX REVISIONS
Menu
74/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Six Revisions brings to the table. Cant wait to see some CS5 tutorials!
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
75/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Menu
76/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Youre my hero! Ive been so scared of giving this a go, and looky how easy it is! <3
SIX
YoursREVISIONS
was complete, clear Menu
and, best of all, It Worked !
You Rock! Thanks so much. The FTP thing was getting really grim . . .
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
77/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
Hey I too have vista on my lappy,i tried to install Xampp on it bt it is givin me d following error:
Warning :require(C:\xampp\install\xampp_xampp.php:failed to open stream No such le or
directory in C:\xampp\setup_xampp.bat on line 33
Fatal error:require():
failed opening required C:\xampp\install\xampp_xampp.php) in C:\xampp\setup_xampp.bat on
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
78/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
line 33
Can u help????
79/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
hii, im a novice, I followed the tutorial, and got stuck when trying to install script, I try
http://localhost/wordpress/wp-admin/install.php , but it said the object not found. could you
please help me? thx
I have the same problem.Then I checked it up,found that I have download the wrong le:
[Upgrade 1.7.2 to 1.7.3],not the whole 1.7.3 install le.
U may be the same reason.
SIX
REVISIONS
thank you so much:)
Menu
80/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Just to con rm, if anyone is having trouble with the xampp & osx duo causing problems for
uploading sample data, Jeremys solution worked for me.
Just browse to your wp-content folder, select it and use command + i. In the following pop up
box, look down to the sharing & permissions section (may need to expand it) and then set the
privilege option for everyone to Read & Write. That should be it.
Great tutorial btw Jacob!
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
81/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
82/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
83/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
jr Aug 12 2010
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
84/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
85/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Thanks very much! Great tutorial. All set up and worked perfectly.
Al Aug 17 2010
One of the few articles that mentions the Theme Unit Test from wordpress.org, which I do
appreciate having d/led it and tried it. Did not know anything about it and it was nice to have it
added to the tutorial. Does help explain more about WP when you can see what others have
done and need to do to produce certain pages, etc?
Now I would like one that would show how to create a static home page and perhaps not even
have a blog page as such. Maybe this is not possible with WP, I dont know, not that far into it,
just getting going with WP.
Al
Chris
Anderson Aug 21Menu
2010
SIX REVISIONS
Thanks so much for the clear tutorial all went very well with the XAMPP install.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
86/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
87/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
installation, but thats ne, just change it back after. Then FTP your les to your server and
like magic, you have a fully functioning WordPress site.
SIX
REVISIONS
Many thanks again.
Menu
88/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Hi Jacob,
Please give me a hand, I think I have seriously mistaken Now both my local and hosted sites
give me a parse error.
Local site redirects to hosted, I have no idea how to undo this.
Hosted site is http://www.e-motion-marketing.com
After reading http://codex.wordpress.org/Changing_The_Site_URL I think I have messed my
local site by changing its location in WordPress Admin, but I cant get back to WP admin
anymore.
Plus I have not backuped my database (too bad).
Please Jacob give me a hint ?
Thanks
Pierre
SIX
REVISIONS
Thanks
!
Menu
89/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Did you update the wp-con g.php with the proper settings? Also, you can log into your MySQL
database, go to the options table, and under option_name, look for site_url (it should be the rst
row of that table). Make sure that the option_value is set to the correct URL in your hosted site.
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
90/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
@Pierre: Lets continue this conversation via email (check out the Contact page for my info) so
that we can have a better 2-way communication, and then when we sort it out, we can post a
comment on how we were able to x the issue.
SIX REVISIONS
Menu
91/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
CuriousI wanted to bring my site local so I could play with the CSS and what not. I backed up
my DB and imported it once I had everything set up. Works great, I can see my site locally.
However, when I try to go to wp-admin, it redirects me to the login page online rather than the
one locally. Thoughts?
Thanks again!
Tim
See Following
http://www.techbrij.com/238/setup-wordpress-on-local-xampp-from-production-server
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
92/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
93/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
MilaREVISIONS
Oct 03 2010
SIX
Menu
I have the same problem with /htdocs permissions. Cant install my theme (its in .zip format). I
get an error: Unable to create directory
/Applications/XAMPP/xampp les/htdocs/wordpress/wp-content/uploads/2010/10. Is its
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
94/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
95/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
@ognjen Hey Ognjen, this also happened to me once. The problem is that there are possible
rewrite rule problems in your wordpress. To x this, go to your administration page (I assume
you can access the WordPress admin page?) On the left sidebar, look for the Settings box, and
the Permalinks link. Just click on the Save Changes after that (you dont have to change
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
96/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
anything). This will regenerate your .htaccess in your wordpress application. This works
wonders for me, tell me if it works for you.
Regards!
97/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
98/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Thanks for this as it worked unlike the previous two tuts that i tried. I have WordPress installed
on the server but the constant reloading of pages to check the code was starting to drive me
mad.
good job
99/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Your information is terri c and well written. I had one problem when installing the test data. On
the wp site I found the le contents but no le to import. I copied the code into dreamweaver
and saved it as a xlm le. Then went to wp and imported my new le. It worked. You might want
to look to see if the wp site changed, I also queried the process and wp had similar instructions,
yet I could not nd how to download the le. Now all I have to do is learn how to use it to
change my sites.
Thanks for all your work on this tutorial it is great to see you contributing positive good free
information.
Joe Holmes
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
100/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
A u d e e Jan 14 2011
great tutorial Jacob :)
Ive been using xampp for couple of years and never had any problem until today I have the
Apache start errors.
Erik Teichmann, youve been a great help noting on your comment that Skype uses the port 80
that causing Apache not to start. :D
Thank you very much!
me to this page. I cant get past the installation because it is showing how to install on windows.
Please help.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
101/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
so, o receive the following answer from instalation: Fatal error: Call to unde ned function
is_admin() in C:\xampp\htdocs\wordpress\wp-admin\includes\comment.php on line 162
Here is an SS from my phpMyAdmin home:
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
102/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
https://picasaweb.google.com/lh/photo/stDKDG5wATvcm2Lqqu0V9dp_BZgEYvGvI4CtDUWW-A?feat=directlink
By the way, im stalling it on a local machine using Windows XP SP3.
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
103/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
Thanks a lot for the complete tutorial! I can use wp on my local computer now. :)
104/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Fantastic tutorial, thanks alot. Nice sense of humor too, enjoyed it!
SIX REVISIONS
Menu
105/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Ed Mar 07 2011
Kinda weird that I hadnt seen this post before. Its a great and comprehensive post. Tie this in
with Tortoise SVN and youre in business.
106/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
clear solution seems to have been posted. I know no php and am just following the tutorials.
Can anyone help me out?
Thanks
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
107/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Steve
Apr 10 2011
SIX REVISIONS
Menu
Ive had XAMPP on a number of computers for sometime now. Used it as a testing server for
small projects I have done for others. This is a very good example of installing XAMPP as well as
WordPress.
Thanks
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
108/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Thanks, very complete, much people who are begining will enjoy this tutorial.
Keep on !!
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
109/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
110/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
http://localhost/wordpress/wp-admin/install.php
check if wordpress_user is under Local
go phpMyAdmin > Privileges > edit(action) wordpress_user > under Change Login Information /
Copy User
under Host dropbox, select Local, it should change the host name from local to localhost
go back to the link and it should work now :P good luck!
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
111/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Rae Jun 22 2011
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
112/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
For newbies like me having issues with the tutorial at the point of OBJECT NOT FOUND
make sure that you do not create a folder called wordpress when you unzip the wordpress
lesthat extra folder throws everything offor at least it did for me
Menu
SIX
REVISIONS
Barry Harmon Jun 29 2011
113/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
c:/xampp/htdocs/wordpress.
However, I can work only with the localhost version and can ftp only the htdocs version.
What have I done wrong? Is there a link that I should have done? How do I set up the installation
so it will be both workable (editable) and uploadable?
Thanks.
SIX REVISIONS
Menu
114/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Hey. Im sorry for my bad english! butit can not be bothered to work. There when I open
http://localhost/wordpress/wp-admin/install.php hmm .
SIX REVISIONS
Menu
I have gone and checked what I have done and all appears to be do as per the guide.
I have looked at the root directory for install.php and it reads
xampp/htdocs/wordpress/wp-admin/install.php
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
115/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX
REVISIONS
Oh, I see
I should have readMenu
that
116/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Jacob, thank you so much for this very useful and easy to follow tutorial I could NEVER have
gured this out on my own! Did you end up writing that follow up post that @mang requested?
He wrote:
Yes please! I think there are three things that someone like me who wants to develop a
WordPress site on a localhost needs to know:
1: How to copy localhost to server
2: How to copy server to localhost so that I can safely experiment locally with a copy of the
live site.
3: Key to all that is guidance on how to work safely so that I can make and restore a backup.
I appreciate thats a lot to ask for, but making major changes (eg: a version update) to a live site
is the scariest thing when I dont know if anything will break, and even more so when I dont
know how to backup and restore.
SIX REVISIONS
Menu
117/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
SIX REVISIONS
Menu
Thank you sooooooo much. this tutorial has been superb very well written!
thanks a ton!
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
118/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
119/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
I have followed your instructions to install until step 29.Installing WordPress. I copied the URL
http://localhost/wordpress/wp-admin/install.php
But the localhost was unknown. I changed it in localhost:8080 that didnt work either.
Also 127.0.0.1:8080 didnt work.
How can I change the con guration needed to use port 8080 voor the localhost.
Port 80 is bussy, occupied bij an MS Windows service.
Best regards,
120/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
THANK YOU SO MUCH. This was the most helpful tutorial ever! Now I can nally develop
wordpress themes locally. Thanks for the help.
fu Nov 20 2011
Thank you sooooooo much. this tutorial has been superb very well written!
SIX
REVISIONS
thanks
a ton!
Menu
121/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Just Awesome! Everything step-by-step and with screenshots explains everything so good.
Thx a ton sixrevisions :)
SIX REVISIONS
Menu
122/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
misunderstanding.
Brilliant and any person who follows your instructions can set this up.
Thanks again for a great tool for testing sites before they go live or for creating sites to sell!
Cheers
Mike
This comment section is closed. Please contact us if you have important new information
about this post.
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
123/124
7/27/2016
UsingXAMPPforLocalWordPressThemeDevelopment
Advertise Here
Partners
SUBSCRIBE TO RSS
FOLLOW ON TWITTER
LIKE ON FACEBOOK
SIX REVISIONS
Menu
http://sixrevisions.com/tutorials/webdevelopmenttutorials/usingxamppforlocalwordpressthemedevelopment/
124/124