Re: Re: When typing "localhost\.." the computer wants to connect to internet.

From: Date: Thu, 31 Jan 2002 13:55:48 +0000
Subject: Re: Re: When typing "localhost\.." the computer wants to connect to internet.
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-11743@lists.php.net to get a copy of this message
Hey Alek, tried your suggestions but no positive result! Thanks Tim Alek Andreev <alek@post.com> schrieb in im Newsbeitrag: 000601c1aa4f$6cd7e0f0$eac4f650@juno... Best solutions is to use http://127.0.0.1/ instead. Or try http://<my_computer_netbios_name>/ Regards, Alek Andreev alek@post.com -----Original Message----- From: Michel Laine [mailto:michel@systemtech.se] Sent: Thursday, January 31, 2002 11:40 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: When typing "localhost\.." the computer wants to connect to internet. "Tim LüDemann" wrote: > At first: > I run win 98 on my standalone computer. > I installed Apache 1.3.22 and PHP 4.1.0, edit the files php.ini and > httpd.conf and put them at the right place. I doublechecked the files. > When typing "localhost\index.html.de" the computer wants to connect to > internet. It is possible to open the file "C:\apache\htdocs\index.html.de". > > I tryed to change my IP to 127.0.0.1 but got an error massage. > I changed to 192.168.1.2 but no better result. > > When trying to open php-files the computer trys to download something I > cannot read because the download-window opens and closes many times very > fast until I press esc. When the browser opens a php-file he shows nothing. > > I hope to get help of anyone of you because I worked several days on it and > have no further idea how to solve the problem. > > Thank You > > Tim Lüdemann * Did you verify that your web server is running? - not with PHP or anything (one should see a apache 'welcome'-screen of some kind i believe) * Do you (your client) have the accessrights needed to access the webserver? * What if you say 'cancel' on the dialup request? * What if you use 'http://' in front of your localhost address? * What if you rename your startpage to index.html or index.php instead and try to acces it again? Read the doc that come with the Apache installation / or homepage - I am sure that something of this is covered. I am no expert on Apache nor Dialup connection in W98, but there are dozen things to test - as well as there is some tweaks for the dialup in windows too. To tweak the dialup i believe that you find something in Settings/Control panel/Network/Properties/Configuration/Dialup where one can set dialup to something like this: "always" / "when needed" / "never". I don't have any dialup connection installed, so i cannot verify if this is correct. There might be a tweak in IE too - or, if i remember wrong - the tweak above. My suggestion is that you do things in this order: 1: Make sure that Apache is up and running. 2: Try to access the default apache startpage (using http://127.0.0.1). This often involves checking / changing / browsing through the apache config files if it doesn't work. Try with different computers / browsers if possible. 3: Replace the default apache startpage with your own (named as the apache one) and see if it works. 4: Put some *simple* PHP code in this file like: <?PHP phpinfo(); ?> 5: ... -- Michel Laine -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#11743) next »