I finally got these two working together. I tried several times on mac 
OSX and decided maybe it just wasn't going to happen so I've been trying 
LinuxPPC 2000. In case there are others with the same problem, here are 
the steps I took that finally worked. Following the directions with 
pdflib I did as follows (using source directories: 
/home/steve/build/php-4.0.6 "<php-src>" and 
/home/steve/build/pdflib-4.0.1 "<pdflib-src>"):

1. stop apache, remove all remnant pdflib and php files

2. unpack pdflib, ./configure, make, make install

3. added library directories to /etc/ld.so.conf, ran ldconfig (don't 
know if this step is necessary)

4. unpack php, rm <php-src>/ext/pdf/*, cp <pdflib-
src>/bind/php/ext/pdf/* <php-src>/ext/pdf

5. ./configure php with these options:
         --with-xml \
         --with-zlib \
         --with-apxs=/usr/sbin/apxs \
         --with-openssl \
         --enable-trans-sid \
         --with-pdflib=/usr/local \
         --enable-shared=pdflib \
         --with-mysql=/usr

( /usr/local/lib contains libpdf.a libpdf.la libpdf.so libpdf.so.1 
libpdf.so.1.1.1 )

6. make, make install

7. cp <php-src>/php.ini-optimized /usr/local/lib/php.ini, restart apache

(this is assuming you had php and apache working before, otherwise you'd 
need to setup your httpd.conf file)


-- 
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