|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45800 cannot compile PHP with http on osx
Submitted: 2008-08-12 13:43 UTC Modified: 2008-08-12 13:49 UTC
From: Assigned:
Status: Not a bug Package: HTTP related
PHP Version: 5.3.0alpha1 OS: osx 10.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
11 + 6 = ?
Subscribe to this entry?

 [2008-08-12 13:43 UTC]
When compiling PHP with --enable-http, I get this error : 

In file included from /Users/macbook/bin/php5.3-
/Users/macbook/bin/php5.3-200808111430/ext/http/php_http_api.h: In 
function '_zval_copy':
error: 'struct _zval_struct' has no member named 'refcount'
error: 'struct _zval_struct' has no member named 'is_ref'
make: *** [ext/http/http.lo] Error 1

Reproduce code:
./configure --enable-http & make

Expected result:
PHP compile correctly with the http extension.

Actual result:
Compilation fails. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-12 13:49 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

You are trying to compile ext/http from PECL and you encountered a bug related to pecl-http and not to PHP itself. Please report a bug on
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jun 05 08:03:39 2023 UTC