Setup website on localhost [your computer]

Status
Not open for further replies.

shadow.prx

Active Member
2,369
2009
486
50
here is a quick tutorial on how to set up a website on your computer

Requirements:
Internet connection

What can this be used for ?
Testing something you dont want to on your live site
Building a website but dont want to make it public yet

What do i need?
one program its called XAMPP

But where do i get this program? :))
Linux
Code:
[URL="http://www.apachefriends.org/en/xampp-linux.html%5B/code%5DWindows"]http://www.apachefriends.org/en/xampp-linux.html
Windows[/URL] [xp and vista] vista users look at note on bottom of page before installing
Code:
[URL="http://www.apachefriends.org/en/xampp-windows.html%5B/code%5DMac"]http://www.apachefriends.org/en/xampp-windows.html
Mac[/URL] OS X
Code:
[URL="http://www.apachefriends.org/en/xampp-macosx.html%5B/code%5DInstall"]http://www.apachefriends.org/en/xampp-macosx.html
Install[/URL] that program during the install you will be prompt with these options
9k0b9j.jpg


Apache and MySQL are optional but i suggest you check them they are needed for most things

once that has installed your more than ready to go

to install a forum if exacly the same as you would on a host find the htdocs where you installed the XAMPP folder

How do i get to the webpage?
You need XAMPP running in your browser just type http://localhost

Note for vista users
due to vista being an annoying little **** you cant install it in the normall folder you need to pick another destination instead of C:// you need to chose somewhere else mine is in my documents folder

Hope this helped any questions i will be happy to answer
If you found this helpfull please say thanks
 
28 comments
Uniform Server is by far the easiest and the best, no installation, and portable AMP server.

Simply great.
 
Database server hostname or DSN:
DSN stands for Data Source Name and is relevant only for ODBC installs.

I have problems with creating a new database and put in my phpBB installation panel :/
Halp pl0x :(
 
another error:

General Error

SQL ERROR [ sqlite ]

SQL logic error or missing database [1]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
 
i used Xampp for over 3 years now and never looked back!

also the issue with windows vista is that you dont have privs to install to your program_files directory so install to c:/xampp or your documents, unless you get give the directory permisions to the xampp folder within program_files directory!

peace
P.S where da fuk ya been snow lol
 
a programmer such as myself never uses localhost as a live server but as a test server to create web apps without having to upload files every 2 mins lol
 
Status
Not open for further replies.
Back
Top