ID:               50214
 Updated by:       il...@php.net
 Reported By:      phil at lavin dot me dot uk
-Status:           Open
+Status:           Closed
 Bug Type:         Streams related
 Operating System: Linux 2.6.30
 PHP Version:      5.2.11
 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

The fix is already in and will be part of 5.2.12


Previous Comments:
------------------------------------------------------------------------

[2009-11-19 11:54:43] phil at lavin dot me dot uk

p...@127dot0dot0dot1:~/php5/php5.2-200911190930$ sapi/cli/php -r
'var_dump(fsockopen("[2610:1e8:2900:a::8]", 6667));'
resource(4) of type (stream)
p...@127dot0dot0dot1:~/php5/php5.2-200911190930$

I assume this fix will be pushed out in 5.2.12?

Phil

------------------------------------------------------------------------

[2009-11-19 08:39:20] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

[2009-11-18 22:24:58] carsten_sttgt at gmx dot de

The same problem exists with 5.2.11 on Windows too.

Of course that's a known problem, and exists also in PHP 5.3.0. In PHP
5.3.1 (rc/dev) that's fixed.

Is (/was) there no backport to 5.2.11?

Regards,
Carsten

------------------------------------------------------------------------

[2009-11-18 19:02:46] phil at lavin dot me dot uk

Having just downloaded and compiled 5.2.11 (just using ./configure with
no options)...

p...@127dot0dot0dot1:~/php5/php-5.2.11$ sapi/cli/php -r
'var_dump(fsockopen("[2610:1e8:2900:a::8]", 6667));'

Warning: fsockopen(): unable to connect to [2610:1e8:2900:a::8]:6667
(Unknown error) in Command line code on line 1
bool(false)
p...@127dot0dot0dot1:~/php5/php-5.2.11$


Phil

------------------------------------------------------------------------

[2009-11-18 18:03:50] j...@php.net

It's properly configured if it's not disabled in configure line with
--disable-ipv6 option. f.e.:

# rm -f config.cache && ./configure && make
# sapi/cli/php -r 'var_dump(fsockopen("[2610:1e8:2900:a::8]", 6667));'
Warning: fsockopen(): unable to connect to [2610:1e8:2900:a::8]:6667
(Network is unreachable)..


------------------------------------------------------------------------

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/50214

-- 
Edit this bug report at http://bugs.php.net/?id=50214&edit=1

Reply via email to