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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: voss at arnet dot com dot br
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 17:01:28 2025 UTC