ID: 40279
Comment by: giunta dot gaetano at gmail dot com
Reported By: SiliconFiend at gmail dot com
Status: No Feedback
Bug Type: Sockets related
Operating System: Windows XP SP2
PHP Version: 5.2.0
New Comment:
Very weird, this started happening to me, too.
Symptoms:
+ ping 'localhost' returns ::1
+ using "telnet localhost 80" works, ie apache responds ok
+ php fsockopen(localhost) stalls, plus apache show no access logs, nor
etheral captures any packets on any nic
How ipv6 got enabled is a mystery to me. It is explicitly disabled on
ALL network connections I have in use. All I did today was enabling the
wifi nic (intel 2200) to connect to my new home lan... Maybe the dns
server is broadcasting ipv6 addresses for localhost (wtf) ??? I tried
ipconfig /flushdns to no avail. No trace of ::1 in etc/hosts either...
btw, ipconfig /displaydns shows:
5.64.3.10.in-addr.arpa
----------------------------------------
Nome record . . . . . : 5.64.3.10.in-addr.arpa.
Tipo record . . . . . : 12
Durata (TTL). . . . . : 0
Lunghezza dati. . . . : 4
Sezione . . . . . . . : Risposta
Record PTR . . . . . : srvmappemxp
1.0.0.127.in-addr.arpa
----------------------------------------
Nome record . . . . . : 1.0.0.127.in-addr.arpa.
Tipo record . . . . . : 12
Durata (TTL). . . . . : 0
Lunghezza dati. . . . : 4
Sezione . . . . . . . : Risposta
Record PTR . . . . . : localhost
srvmappemxp
----------------------------------------
Nome record . . . . . : srvmappemxp
Tipo record . . . . . : 1
Durata (TTL). . . . . : 0
Lunghezza dati. . . . : 4
Sezione . . . . . . . : Risposta
Record A (Host) . . . : 10.3.64.5
localhost
----------------------------------------
Nome record . . . . . : localhost
Tipo record . . . . . : 1
Durata (TTL). . . . . : 0
Lunghezza dati. . . . : 4
Sezione . . . . . . . : Risposta
Record A (Host) . . . : 127.0.0.1
Previous Comments:
------------------------------------------------------------------------
[2007-03-14 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-02-17 17:31:21] SiliconFiend at gmail dot com
I think I installed IPv6 on Windows using the "Install..."->Protocol
function on the Properties window for my network connection. You can
also open a command window and type "ipv6 install" to accomplish the
same thing.
Internet Explorer can't handle IPv6 literal addresses (such as [::1])
in the URL. See
http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx
Unfortunately, in an effort to work around this problem, I made some
changes to my IPv6 configuration and now Apache is no longer binding to
my IPv6 address, so I can't display a page even in Firefox right now.
I'm trying to fix it.
------------------------------------------------------------------------
[2007-02-12 19:16:35] [EMAIL PROTECTED]
How exactly did you enable IPv6 support in your Windows?
>when http://[::1]/ is entered in Firefox, so Apache
>is responding to IPv6 requests on port 80.
Try using this address in telnet and MSIE.
Do they work too?
------------------------------------------------------------------------
[2007-02-01 06:15:29] SiliconFiend at gmail dot com
I should be more clear. Using php.ini-recommended suppressed the php
warning/error output, but the error still occurred.
------------------------------------------------------------------------
[2007-01-30 18:33:49] SiliconFiend at gmail dot com
Same result with the CVS snapshot. I tried both php.ini-dist and
php.ini-recommended files for the php.ini. The only difference is that
php.ini-recommended didn't display the errors. One note, though,
probably unrelated--using the php5apache2.dll module file from this
snapshot did not allow the server to start--nothing in the error log; it
just immediately stopped after attempting to start it. I had been using
the php5apache2.dll with the PHP version 5.2.0 distributed with XAMPP.
This was the default configuration; I don't know why they didn't use
2_2. Anyway, changing the LoadModule directive to point to
php5apache2_2.dll allowed the server to start.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40279
--
Edit this bug report at http://bugs.php.net/?id=40279&edit=1