ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-windows
php-windows
[PHP-WIN] Re: When typing "localhost\.." the computer wants to connect to internet.
by Michel Laine other posts by this author
Jan 31 2002 9:40AM messages near this date
[PHP-WIN] When typing "localhost\.." the computer wants to connect to internet. | Re: [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@[...].net
For additional commands, e-mail: php-windows-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread:
Tim Lüdemann
Michel Laine
Tim Lüdemann
Alek Andreev

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved