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
 [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

Pull Requests

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: Sun Dec 22 06:01:30 2024 UTC