-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Matt Hyclak Sent: Saturday, December 30, 2006 10:01 PM To: CentOS mailing list Subject: Re: [CentOS] PDFlib?
On Sat, Dec 30, 2006 at 05:09:57PM -0600, Mike Kercher enlightened us:
I'm trying to create pdf's on the fly with php, but I'm
getting errors
such as:
Fatal error: Call to undefined function: pdf_new()
I tried installing pdflib from dag, but I think I'm missing
something
to plug it into php.
Has anyone done this?
Yes, the PDFlib in dag's repo isn't for php, if I remember correctly. I ended up building PDFlib-Lite from the website using the SRPM from pld linux, then updated the php-pecl-pdflib RPM from rpmforge (dag) to 2.1.2 and installed that.
I'm no longer using them in production, but I've still got spec files if you need some guidance.
Matt
--
Matt,
Thanks for the info. I would be very interested in your .spec files and any other guidance you may have.
Mike