note 7117 deleted from ref.pdf by didou
| From: | didou@php.net | Date: | Fri, 08 Aug 2003 21:57:30 +0000 |
| Subject: | note 7117 deleted from ref.pdf by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53704@lists.php.net to get a copy of this message | ||
Note Submitter: nathan@cournia.com
----
After a couple of hours of trial and error, I've finally gotten PHP 4.0.1pl2, Apache 1.3.12,
and PDF 3.01 to all work together. Here are the steps I followed.
Downloaded the above from the following sites:
PDFlib: www.pdflib.com
Apache: www.apache.org
PHP: www.php.net
I also downloaded the following:
PDFlib patch: http://www.pdflib.com/pdflib/patches/2000-07-03-PDF_open_fp.txt
Latest PHP pdf.c: http://cvs.php.net/viewcvs.cgi/php4/ext/pdf/
After untarring the archives I did the following:
In PDF directory:
Applied PDF patch.
./configure --enable-cxx --with-tiffauxlib=-ljpeg --with-tifflib=/usr/lib --with-zlib=/usr/lib
--with-pnglib=/usr/lib --enable-shared --enable-static --enable-shared-pdflib
make
make install
In Apache source directory:
./configure --prefix=/www/apache --with-perl=/usr/bin/perl --enable-module=so
--enable-module=rewrite
make
make install
In PHP direcotry
Copied over new pdf.c file.
./configure --with-mysql --with-apxs=/www/apache/bin/apxs --enable-track-vars --with-zlib-dir
--with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-tiff-dir=/usr/lib --with-pdflib
make
make install
From there I configured httpd.conf as outlined in the PHP docs. Hope this helps.