Subscribe to RSS Feed

Posts Tagged ‘servers’

Apache and php to test your site locally

Sep 7th, 2009 by matt

Before you upload tons of images and files to the web, you should consider using a http server (or daemon) to fine tune it locally.

When you go back and forth, editing your css and php, then uploading the files over and over again your spending time uploading your files that could be spend on design. To get around this takes only a few minutes, it’s a simple as downloading and installing.

First thing you’ll need is an http server, I recommend apache. It’s free and handles very well. You can find apache at http://httpd.apache.org/download.cgi

If you use php your going to need to download and install that as well. You can find php at php.net. (if your using apache as your web server, you must install it before you install php)

After the installation open the directory (folder) where apache was installed. You should see the folder ‘htdocs’. That’s where you’ll put your homepage and the rest of your website. When you want to see what it looks like open your browser and goto http://localhost (this will load the index.html or index.php file in the ‘htdocs’ directory.

Now you can edit your files on your computer before uploading them to your webhost.
This will save you a lot of time.

Continue Reading »
2 Comments