Running Apache Off-line

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Running Apache Off-line

Post by Gen-ik »

Does anyone know if it's possible to run Apache/PHP off-line?

I've got Apache set-up on my home PC so that I can test out PHP files and websites I'm working on but need to be on-line to do this (using the 127.0.0.1 method). Does anyone if if it's possible to run this off-line.

The only reason I ask is because being in the UK I'm still on a dial-up modem and still get charged for being on-line!


Thanks.
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Doesn't http://localhost work offline?

-Nay
evilMind
Forum Contributor
Posts: 145
Joined: Fri Sep 19, 2003 10:09 am
Location: Earth

Post by evilMind »

yeah, localhost should *always* work. In httpd.conf try

Listen 127.0.0.1:80
(if it's not already set).....
Post Reply