note 8854 added to PDF functions
| From: | Unknown Sender | Date: | Mon, 02 Oct 2000 10:53:06 +0000 |
| Subject: | note 8854 added to PDF functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5900@lists.php.net to get a copy of this message | ||
My process to get this all working:
I use debian, so I used dselect to make sure that I had libtiff and libjpeg.
Compile pdflib 3.02 "./configure --enabled-shared-pdflib --enable-cxx --enable-static
--enable-shared --with-tifflib=/usr/lib --with-tiffauxlib=-ljpeg"
"make" then "make test" and "make install"
Edit /etc/ld.so.conf and include the line "/usr/local/lib"
"ln -s /usr/lib/libtiff.so.3.5.4 /usr/lib/libtiff.so"
"ln -s /usr/lib/libjpeg.so.62.0.0 /usr/lib/libjpeg.so"
"ldconfig"
Recompile PHP with "--with-pdflib"
If that doesn't work, make sure to check the last few lines of config.log ("tail -n 25
config.log") and look for errors. Worked finally for me with PHP 4.0.2.
http://www.php.net/manual/ref.pdf.php