[prev in list] [next in list] [prev in thread] [next in thread]
List: php-windows
Subject: [PHP-WIN] Re: When typing "localhost\.." the computer wants to connect to
From: 195.163.243.96
Date: 2002-01-31 9:40:27
[Download RAW message or body]
"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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic