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

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 10:01:28 2024 UTC