1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to install XenForo locally to your PC using XAMPP

A local installation is invaluable when testing add-ons, modifications and changes.

Tags:
  1. Brogan

    Brogan XenForo Moderator Staff Member

    Brogan submitted a new resource:

    How to install XenForo locally to your PC using XAMPP (version 1.0) - A local installation is invaluable when testing add-ons, modifications and changes.

    Read more about this resource...
     
    Phanicbse, rafass, Ned and 19 others like this.
  2. Elizabeth

    Elizabeth Well-Known Member

    What version of windows? I am running Windows 7/32 and it's lists issues with Vista but doesn't even mention Win7. Usually if there are issues with Vista, Win7 in the same boat.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    I have Win 7 now but I have used XAMPP with Win XP and Vista in the past without problems.
     
  4. Dismal Shadow

    Dismal Shadow Active Member

  5. abnvet

    abnvet Active Member

    Thanks for this install. Im currently deployed to Afghanistan and have been looking for a way to learn this without needing a internet connection. Hopefully with some luck I can get my vb4 converted over :)
     
    EQnoble and Dean like this.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Good luck over there.
    If you need any help to get it working locally, don't hesitate to ask questions.
     
  7. SchmitzIT

    SchmitzIT Well-Known Member

    Thanks Brogan, very helpful :)
     
  8. So, I got around to trying the Xampp program for testing out changes on localhost, and I'm running into the following problem any time I try to import my xenforo database. I export the xenforo database from myphpadmin in cpanel, then i go into myphpadmin in Xampp, import it...and I get what the error below.

    SQL query:
    INSERT INTO `xf_data_registry` (`data_key`, `data_value`) VALUES ('styles', 0x613a31383a7b693a32323b613a383a7b733a383a227374796c655f6964223b693a32323b733a393a22706172656e745f6964223b693a303b733a31313a22706172656e745f6c697374223b733a343a2232322c30223b733a353a227469746c65223b733a373a2243534f2d303032223b733a31313a226465736372697074696f6e223b733a303a22223b733a31303a2270726f70657274696573223b733a36383830323a22613a3238393a7b733a363a22686561646572223b613a303a7b7d733a393a22696d61676550617468223b733a31333a227374796c65732f63736f303032223b733a31343a22706167654261636b67726f756e64223b733a31323a2272676228302c20302c203029223b733a363a22627574746f6e223b613a31393a7b733a31363a226261636b67726f756e642d636f6c6f72223b733a31363a22726762283235352c203130362c203029223b733a31393a22626f726465722d626f74746f6d2d636f6c6f72223b733a31313a227267622831342c382c3229223b733a31323a22626f726465722d636f6c6f72223b733a31343a227267622832382c2032332c203529223b733a31333a22626f726465722d726164697573223b733a333a22377078223b733a31363[...]
    MySQL said: [​IMG]
    #2006 - MySQL server has gone away
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    It sounds as if it's timing out.

    You may need to tweak the XAMPP config.
     
  10. What do I need to tweak? Is it in php.ini?

    Edit: I realize this is now a Xampp question, but I'm hoping you already know what the tweak is, since you made the Xampp thread.
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Mine worked out of the box so I had no need to tweak anything.

    I'll merge this with the XAMPP thread also, best place for it really in case anyone else experiences the same problem.
     
  12. Ok, thanks, Ill have to see if there's XAMPP support for this. If I find the answer, I'll post it.
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

  14. Kaiser

    Kaiser Well-Known Member

  15. Brogan

    Brogan XenForo Moderator Staff Member

    No problem.
     
    Kaiser likes this.
  16. Shelley

    Shelley Well-Known Member

    Thanks Brogan, I forgot about Xampp and just finally got this installed after 2 days of severe headaches with zendserver ce though I think i know now what the issue was with that. Anyway, In the meantime and since it's all working again (localhost) I'll use this for the time being. (y)
     
  17. D.O.A.

    D.O.A. Well-Known Member

    Install it with UAC (user account control) off, and use the path it suggests (C drive) when installing, you'll have no problems with either OS that way.
     
  18. kkm323

    kkm323 Well-Known Member

    helpful article :)
     
  19. Andrej

    Andrej Well-Known Member

    Thank you Brogan for your wonderful guide. Is it easy to uninstall XAMPP software once you do not need it anymore?
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    Just uninstall it from Control Panel and remove any directories.
     

Share This Page