[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] PHP 4.1.2 with pdflib?
- Subject: Re: [cobalt-users] [RaQ4] PHP 4.1.2 with pdflib?
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Thu Mar 28 20:46:00 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Lillith Lesanges" <lillith@xxxxxxxxxx> wrote:
> I've got a RaQ4 with the PHP 4.1.2 package installed. According to
> phpinfo(); it's compiled with --with-pdflib=shared. There's no PDFlib
> section in phpinfo(); like there is for MySQL or GD, however. In
/usr/lib/
> I have libpdf.so and in in /usr/lib/apache/php/ I have libpdf_php.so.
>
> But when I try to use the pdf functions, I get a Fatal Error: call to
> undefined function pdf_new();
Lillith, my guess is you did not uncomment the line which loads the libpdf
extension in /etc/httpd/php.ini. By default it should look like:
;extension=libpdf_php.so
The ";" is a comment designator so you need to remove it. To have it load
it should look like:
extension=libpdf_php.so
Then restart Apache. /etc/rc.d/init.d/httpd restart
All of this is explained in the overview at
http://pkgmaster.com/packages/raq/4/#php, which is where I assume you got
the PKG. Note that there are other loadable modules in the same part of
php.ini that you may want to uncomment if needed.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/