adding pdflib to php4

Leez theleez at
Fri Feb 4 10:26:50 PST 2011

Ahhh, okay.  Thanks for letting me know.

Unfortunately I have one site I work on that "can't" be upgraded to php5.
So my test server needs to run php4 as well so I can work on it.  I would be
super appreciative of a pdflib variant to php4 if you have the time.  Or if
there is some work-around that I can do that's not too advanced.

Thanks Ryan.

On Fri, Feb 4, 2011 at 01:37, Ryan Schmidt <ryandesign at> wrote:

> On Feb 4, 2011, at 03:17, Leez wrote:
> > I already have php4 installed via macports, and I installed pdflib via
> 'sudo port install pdflib'.  However, when I pull up phpinfo, I don't see
> PDF support.
> >
> > I looked up the variants for the php4 port, but pdflib is not one of
> them, so reinstalling php doesn't seem to be the answer.
> >
> > I was going to add '' to php.ini, but I searched
> for a, and can't see that one exists, so I'm not sure where to
> point the extension directory.  Not sure where to go from here.
> PHP in MacPorts was not made aware of separately-loadable extension files
> until php5 @5.3.0. I never bothered to go back and do the same for php4
> because PHP 4 was end-of-lifed some time ago.
> Perhaps I can add a pdflib variant to the php4 port for you. But you really
> should upgrade to php5.
> Then again, we don't have a php5-pdflib port either. I suppose that should
> be created first.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list