|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58312 Unable to load
Submitted: 2008-08-15 00:12 UTC Modified: 2008-08-18 14:38 UTC
From: j at ie-internet dot com Assigned:
Status: Not a bug Package: pdflib (PECL)
PHP Version: 5.2.0 OS: Linux/Debian Etch
Private report: No CVE-ID: None
 [2008-08-15 00:12 UTC] j at ie-internet dot com
Apache configtest complains with an error:

PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) ''  in Unknown on line 0

Reproduce code:
linux:/ #pecl install pdflib
path to pdflib installation? : /usr/local

linux:/# vi /etc/php5/apache/conf.d/pdflib.ini

# configuration for PDFlib


linux:/# /etc/init.d/apache restart

Expected result:
Restarting apache 1.3 web server....

Actual result:
PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) ''  in Unknown on line 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-18 14:38 UTC] rjs at pdflib dot com
Thank you for taking the time to write to us, but this is not
a bug.

pecl install pdflib creates a file, so the entry for php.ini should be:
 [2012-08-24 06:43 UTC] sumitalwayssmiling at gmail dot com
i run this command on linux
"pecl install pdflib"
but it is telling 
"No releases available for package ""
install failed"

So i use this process
1) wget
2) tar -zxf pdflib-2.1.5.tgz 
3) cd pdflib-2.1.5
4) phpize
5) ./configure --with-pdflib=/usr/local/
6) make
7) make install
8) Add extension = "" to the server php.ini & restart apache service.
When Restart apache it showing following error : 
"Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/ cannot open shared object file: No such file or directory i"
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 07:01:31 2024 UTC