php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9172 fopen-wrapper does not work
Submitted: 2001-02-08 06:55 UTC Modified: 2001-05-04 14:35 UTC
From: corwin at uni-bremen dot de Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: AIX 4.3.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: corwin at uni-bremen dot de
New email:
PHP Version: OS:

 

 [2001-02-08 06:55 UTC] corwin at uni-bremen dot de
Under AIX,  php_hostconnect() in network.c fails, causing require("some_url") to
fail.  The reason is that (*sal)->sa_family is 0, which causes the socket-opening
to fail.

As a workaround I included a (*sal)->sa_family = AF_INET right before the
call of socket().

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-03 15:04 UTC] sniper@php.net
Is HAVE_GETADDRINFO defined in your main/php_config.h ?

--Jani

 [2001-05-04 14:35 UTC] jmoore@php.net
No feedback. Closing
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 00:01:32 2024 UTC