php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33669 Ipv6
Submitted: 2005-07-12 22:29 UTC Modified: 2005-07-13 15:57 UTC
From: voss at arnet dot com dot br Assigned:
Status: Not a bug Package: *Network Functions
PHP Version: 5.0.4 OS: Windows XP
Private report: No CVE-ID: None
 [2005-07-12 22:29 UTC] voss at arnet dot com dot br
Description:
------------
  I am not able to use the function fopen() with an IPV6 address. The binary version release has support to execute functions using ipv6?

Reproduce code:
---------------
$fp=fopen ("http://[fe80::1]/teste.php/","r") or die ("N?o pode abrir o localhost"); 


Actual result:
--------------
Warning: fopen(): php_network_getaddresses: gethostbyname failed in D:\Trabalho\php5\conexao.php on line 32

Warning: fopen(http://[fe80::1]/teste.php/): failed to open stream: No such file or directory in D:\Trabalho\php5\conexao.php on line 32
N?o pode abrir o localhost

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-13 15:57 UTC] nlopess@php.net
are you sure your windows installation supports IPv6?? read http://www.microsoft.com/technet/prodtechnol/winxppro/plan/faqipv6.mspx for more info.

The windows binaries support IPv6 (as you can check in the phpinfo()).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC