php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36247 pdflib won't load in sapi, cli is fine
Submitted: 2006-02-01 16:36 UTC Modified: 2006-02-01 17:44 UTC
From: rick at revenew dot nl Assigned:
Status: Not a bug Package: PDF related
PHP Version: 5.1.2 OS: Debian Sarge (pure64)
Private report: No CVE-ID: None
 [2006-02-01 16:36 UTC] rick at revenew dot nl
Description:
------------
When I try to load pdflib in the apache sapi module of php, it fails to load

SAPI:
[01-Feb-2006 16:32:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php5-ext/libpdf_php.so' - /usr/local/php5-ext/libpdf_php.so: undefined symbol: _zval_ptr_dtor in Unknown on line 0

CLI: 
# echo '<?php phpinfo(); ?>'|/usr/local/php5/bin/php|grep -i pdf
> pdf
> PDF Support => enabled
> PDFlib GmbH Binary-Version => 6.0.2p6

The same thing happens with the precompiled pdflib module from pdflib.com and a self-compiled version from PECL.

I also tested the latest php cvs snapshot (php5.1-200602011330). The same things happens.

Reproduce code:
---------------
none

Expected result:
----------------
pdflib module loaded

Actual result:
--------------
pdflib module won't load

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-01 17:44 UTC] iliaa@php.net
This is a bug with a PDF extension that is found in PECL and appears to be an issue with the extension itself. Please post the bug on PECL's bug system.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC