In the phpinfo() do you see:
pdf
PDF Support                    enabled 
PDFLib                         Version 3.03 
CJK Font Support               yes 
In-memory PDF Creation Support yes 


Below is my setup with PDFLIB 3.0.3,  Apache 1.3.14, & FreeBSD 4.1-RELEASE

zlib 1.1.3
----------
./configure 
make test
make install

jpeg-6b
------
./configure  --enable-shared
make
make install

tiff-v3.5.5
-----------
./configure
make
make install

libpng 1.0.8
------------
get correct makefile (instructions in INSTALL)
make
make install

PDFlib V3.03
------------
./configure  --with-pnglib=/usr/local \
                 --with-tifflib=/usr/local \
             --enable-shared-pdflib
make
make install

PHP 4.0.4pl1
---------
./configure  --with-mysql --with-apxs=/www/bin/apxs \
             --with-gd=/usr/local/gd1.3 
             --with-pdflib=/usr/local --with-png-dir=/usr/local \
             --with-jpeg-dir=/usr/local --with-tiff-dir=/usr/local \
             --with-imap --enable-sockets
rm config.cache
make clean
make 
make install
> From: Scott Schultz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 08, 2001 5:00 PM
> To: [EMAIL PROTECTED]
> 
> In a nutshell, I can't seem to make PHP recognize that
> the pdflib is there.
> 
> PHP compiles and installs. The configuration as reported by
> phpinfo is:
> 
> './configure' '--with-apache=/usr/local/src/apache_1.3.14'
> '--enable-discard-path' '--with-config-file-path=/usr/local/lib'
> '--enable-sigchild'
> '--enable-ctype' '--with-cybercash=/usr/local/src/mck-3.2.0.4-linux'
> '--with-gdbm' '--with-ndbm' '--enable-ftp' '--with-mysql=/usr'
> '--with-pdflib=/usr/local/lib' '--with-zlib-dir=/usr/local/lib'
> '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
> '--with-tiff-dir=/usr/local/lib' '--enable-sockets' '--with-regex=php'
> '--enable-sysvsem' '--enable-sysvshm' '--with-zlib' '--with-gnu-ld'

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to