|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-04-02 09:42 UTC] mike@php.net
[2012-04-02 10:29 UTC] mike@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: mike
[2012-04-02 10:29 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 01:00:01 2025 UTC |
Description: ------------ (PHP version marked irrelevant to make this bug report work, though version probably matters) pecl_http 1.7.2 and later don't work on my Debian Lenny (PHP 5.2.6.dfsg.1-1+lenny16) system. I get this in my log file whenever I try to use the package: symbol lookup error: /usr/lib/php5/20060613+lfs/http.so: undefined symbol: Z_ADDREF_P Reverting to 1.7.1 helps. I know that the system is a bit outdated, and upgrading might help. However, PHP 4.3 or later is listed as a dependency for pecl_http, so this is either a bug or the dependency should be changed to a more recent PHP version. Test script: --------------- HttpResponse::setContentType('image/jpeg'); HttpResponse::setContentDisposition ("name.jpg", true); if ($someCondition) { HttpResponse::capture(); imageJpeg($someStuff) } else { HttpResponse::setData($someStuff); } HttpResponse::send(); Expected result: ---------------- Should output some data Actual result: -------------- No output and log message above