...

View Full Version : I'm confused



Gnatfish
09-10-2005, 07:21 PM
I downloaded and installed phpdev. I tried making my first php file


<html>
<body>

<?php echo "Hello World"; ?>

</body>
</html>

then saved it as helloworld.php and put it in the www folder for that package. Then went into the browser and typed "http://localhost/helloworld.php" it then came up with an error saying "connection was refused when attempting to contact ....."

All this time the Apache server was running.

I use Mozilla Firefox.

Can someone please help!!!

I AM AN ABSOLUTE BEGINNER!!!

raf
09-10-2005, 07:30 PM
did you try shutting down and restarting apache?
do you have a firewall running?

Gnatfish
09-10-2005, 09:45 PM
Yes I did try shutting down and restarting.

And I do have a firewall (Norton) but i allowed it to let the things is wanted through.

Has anyone else had this problem?

Gnatfish
09-11-2005, 04:20 PM
I decided to check what happened in Opera and it said this:

"Could not connect to remote server"

I am really stuck - help please!!!

raf
09-11-2005, 07:15 PM
i only get such errormessages on my localhost if my webserver is not running or inaccesible.

try disconnecting your machine from the web, shut down your firewall or set it in "allow all communications" mode.
then make sure apache is running and try again.

missing-score
09-11-2005, 10:42 PM
The official Phpdev forums are here: http://www.firepages.com.au/FUD/index.php , so if you are having trouble you may find better answers on there :)

Gnatfish
09-11-2005, 11:53 PM
Thank you raf. Its working now. Thanks!!!!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum