Localhost

Discussion in 'Web Design & Coding' started by Jewelzz, Mar 12, 2006.

  1. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    A friend has ask me to get a forum going for her, which I did. What I need is a way to test hack/mods before they go live (so I don't break it). What all do I need to run a copy from my PC? (links would be nice and maybe a lil instruction) :s :p

    Thanks!
     
  2. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    What type of forum will it be? phpBB, Vbulletin?
     
  3. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    Yeah, which one are you trying to install?
     
  4. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    phpBB is what's installed
     
  5. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Could install it locally using these instructions

    http://www.phpbb.com/kb/article.php?article_id=159

    Would have to be slightly modified to run locally, but I'm sure you can figure the differences ;)

    EDIT: That would be mostly on the web, which might not be a bad idea to use a free host.
     
  6. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
  7. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    Thanks guys. I'll look into both my next day off, Wednesday :(
     
  8. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    I have run phpBB forums before, and I know OSNN member Heeter also uses it extensively. Perhaps one of us could help if you run into problems with it :)
     
  9. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    I've been running it for about a month now. BUT since this is the first time I've done actually run a forum, I don't want to modify any files without testing first and ya can't test on a live site :s

    I might just take you up on the offer if I fail miserably :( Thanks
     
  10. LeeJend

    LeeJend Moderator

    Messages:
    5,291
    Location:
    Fort Worth, TX
    I can't resist...

    Make sure to back up the forum database before doing anything. I hear it's common practice on other forums. ;)
     
  11. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    mmm, always backup the DB

    actually if you have mysql on your local system as I think xamplite installs then do the backup of the live site and put it on your local system. Then you 1 have a live site backup and 2 can make sure that any changes you make shouldn't break the live site :D
     
  12. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    xamplite looks pretty sweet, I had never heard of it before GM's post.

    I don't have a use for it specifically, but still seems really neat. Might help me with something I'm thinking about doing very shortly.
     
  13. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    Ok, once I have this installed and running, which it is, how do I work on a copy of my forum? :dead:
     
  14. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    If you haven't yet done it, you would have to install phpBB and configure it to run off the xamplite server.
     
  15. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    :eek: this will be confusing
     
  16. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    first you need to download the files for phpBB and put them in the right place for xamplite to be able to serve them.

    Next create a user account on your installation of MySQL for the phpBB system. Set the connection details (username, password and database name) in the right phpBB configuration file. (it might have an installer for this in which case run the installer).

    Once phpBB is running you need to download a database backup of the live forums and then insert that backup into your MySQL phpBB database. Then you should have a local version of the live forums running on your system.
     
  17. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
  18. Khayman

    Khayman I'm sorry Hal... Political User Folding Team

    Messages:
    5,518
    Location:
    England
    once you've installed xampplite you should be able type http://localhost/xampp in a browser and it will come up with the xampp tools.

    Locate the directory you installed it to and go to \xampp\htdocs. In this directory install phpbb2 (in a sub directory), which probably consists of unzipping the files into that directory and then in your browser go to http://localhost/phpBB2/install/install.php and follow instructions
     
  19. Jewelzz

    Jewelzz OSNN Godlike Veteran

    Messages:
    10,977
    Location:
    California
    I give up, thanks anyway