DivitoDesign

Everything for the Web Professional

Develop WordPress Themes Offline with XAMPP

Information about the Author:

Name:

URL: http://twitter.com/divitodesign

Description enjoy design, write articles, like typography, love football, keep chilling.

More on: Blogging

33 Comments

  1. Mike says:

    Mamp is the best solution for Mac users. Even easier than using the version of Apache that ships with OSX.

  2. Sumesh says:

    Perhaps the only step I don’t exactly like is adding the database and configuring the wpconfig file [I got the config working, though].

    Stumbled :)

  3. Yes, that’s the part I don’t like doing as well! :P

    Thanks for the stumble! :)

  4. Markus Nordin says:

    WAMP is nice for Windows users as well, haven’t tried XAMPP but that seems like a good alternative.

    http://www.wampserver.com/en/

  5. Tertius says:

    Great tutorial.

    I use Linux myself and have it just installed as packages. And if I’m developing on windows I just emulate linux.

  6. Justin says:

    Thank you for this information. Have been using XMAPP and it has worked out well.

  7. Buch says:

    I am using WampServer and tbh i think it is more customizeable than this ;)

  8. garaj kap?s? says:

    i have problems with XAMMP when editin .htaccess files.

    But i prefer that WAMP server. I think it s better then XAMMP

  9. [...] original here: Develop WordPress Themes Offline with XAMPP » DivitoDesign This entry was posted on Sunday, November 9th, 2008 and is filed under WordPress News. You can [...]

  10. its a usefull tool, however getting it to work is the hardest part, just takes some fidling but well worth it.

  11. [...] Develop WordPress Themes Offline with XAMPP [...]

  12. jamie says:

    Nice tutorial. But you should have included steps for setting up the database. I have never used phpMyAdmin to setup the database before. I have always used fantastico to setup wordpress. So Now I am going to have to spend time to figure it out.

  13. Jamie – All you need to do is “creating a new database” and install WordPress to that database. This is explained in the tutorial, but let me know if that doesn’t work.

  14. Geezer says:

    I’m lost. I should put all the WordPress files directly into XAMPP/htdocs, not make a ‘blog’ folder and put them in that?
    If I do this, then what? How do I access the WordPress?

    • Geezer – When you are browsing your folder you have XAMPP installed (on a Windows computer that should be something like C:/XAMPP/), you need to browse to /XAMPP/htdocs. When you browse to http://localhost/, you will see exactly what is in the htdocs folder. So, it would be possible to upload the whole contents of WordPress to that map, but you could also make a folder called “wordpress”, or “blog”. You can simply visit that part of XAMPP via http://localhost/wordpress/ or http://localhost/blog.

      Do you understand? :)

  15. Geezer says:

    I keep getting “Error establishing a database connection” when trying to access http://localhost/blog/wp-admin/install.php, and http://localhost/blog just gives a “cannot display the page”.

  16. Geezer says:

    Nevermind, I got it. The datbase wasn’t configured correctly.

  17. Great article. I try to check back often for the updates here. It’s hard to find information about setting up an offline webserver. Thanks again.

  18. WordPress themes are getting popular now a days. this is really a great article. We would certainly expect such articles from you.

  19. Shyamal says:

    Thanks buddy… much appreciated!!

  20. Naina Susen says:

    Hey guys, this really works you know i was struggled a lot to set up apache with php, really it saved lot of my time.

    -Naina

  21. Jme says:

    I’ve installed XAMPP on 2 systems, on a Vista Premium 64bit and the other Windows XP, and have the same result. The XAMPP site works fine, and a simple test site with just one file containing the phpinfo() function works as well. However, my primary site doesn’t load up right. Instead, I get a dialogue box saying “You have chosen to open index.php which is a PHP script”, and requires me to select the program to use. If I choose firefox.exe, it just starts over again. Any suggestions?

    Thanks

  22. [...] developing on a Windows machine, try installing WordPress using XAMPP, a nifty program that bundles Apache and MySQL together in an easy install. (Note: XAMPP is [...]

  23. [...] developing on a Windows machine, try installing WordPress using XAMPP, a nifty program that bundles Apache and MySQL together in an easy install. (Note: XAMPP is [...]

  24. Hassan says:

    Hey, Mine says Error establishing Datebase connection and i am putting in all the info?

  25. wasim says:

    very useful, but change username to “root” as its the default username that is set.

    • Radhesyam says:

      Thanks for the advice to change to “root” because i tried EVERYTHING else to fix the database connection error… read thru SO many sites.
      BUt that worked! HOORAY

Please Respond and Give your Opinion

We use Gravatar to handle our avatars. Get one there!