Page 1 of 1

PDFlib Install Nightmares

Posted: Tue Mar 14, 2006 9:41 am
by Whereoware
Well, I've done extensive searching on this topic all over and have yet to find an answer (or anyone willing to help me, for that matter).

The system:
Dell PE850 w/Red Hat Ent. Linux 3 ES
PHP 4.3.11
PDFlib Lite 6.0.3

So the directions say for PHP > 4.3.9, to install using pear install pdflib, but I get an error saying that it needs PDFlib > 3.x. So I downloaded and built PDFlib Lite, and used that in the install. pear installs pdflib successfully.

And nothing. It doesn't show up in phpinfo and my scripts don't work. I've seen that many recommend FPDF for this kind of application, but unfortunately, I have to port existing code to this new server and rewriting for a new module is simply not an option.

I get the feeling I'm just missing one simple thing here, but I can't find it. Can anybody here help me?

Thanks,
Scott

Posted: Tue Mar 14, 2006 9:50 am
by pickle
I've only installed PDFLib 5, and we had to compile it into PHP, rather than install it as an external module.

Posted: Tue Mar 14, 2006 10:00 am
by Whereoware
Thanks Pickle. I had thought about trying to go back a version on PDFlib and compile into PHP. I tried it with 6 and it gave me all kinds of grief. I'll give this a try and let you know if I have better luck.

Scott

Crazy

Posted: Tue Mar 14, 2006 3:36 pm
by Whereoware
So I finally got it installed.

I had to roll back to PHP 4.3.4, and installed PDFlib 5.0.4p1. I probably should have done this to begin with because the server that we're porting from was running 4.3.4. Apparently, 4.3.11 doesn't really play too well with PDFlib no matter the version.

Thanks again Pickle for the suggestion...one pickle to another.

Posted: Tue Mar 14, 2006 3:42 pm
by pickle
Good to hear. My server actually uses 4.3.3 and PDFLib 5.0.1. You should be good to go now.