|
Posted by Andreas Kletsch on 09/27/77 11:54
"Miguel Cruz" <spam@admin.u.nu> schrieb im Newsbeitrag
news:spam-E19290.04171703082006@localhost...
> I'm curious - has anyone managed to get this to work?
>
> I am trying to use PHP 5.1.4 with PDFlib Lite 6.0.3.
>
> On both Linux and Mac, pear won't build it and tells me I have to use
> pecl. Pecl goes through the build process, builds a pdf.so, fails to
> copy it to the extensions/blahblah directory, and then adds it to the
> list of installed extensions (which is incorrect; the install never
> completed successfully).
>
> At the moment I'm working on the Mac, where I've used softlink hijinks
> to grab a copy of the pdf.so file before pecl deletes it, and installed
> it manually in the extensions directory.
>
> When I do this, the PHP CLI is able to use PDF functions. However,
> Apache won't start - it dies with a bus error (if I comment the pdf.so
> line out from php.ini, it works fine).
>
> Par for the course? Anyone having better luck? What was the trick to get
> it to work with OSX? Did you have to build your own Apache?
>
> miguel
> --
> Photos from 40 countries on 5 continents: http://travel.u.nu
> Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
> Airports of the world: http://airport.u.nu
Hi Miguel,
why use PDFLib ?
Have you thought about using FPDF ( http://www.fpdf.org) ?
FPDF is FREE and doesn't rely on any PHP-Extension - just pure PHP-Code.
Perhaps you give it a try..
So long
Andreas
Navigation:
[Reply to this message]
|