PDFlib 4.0.1 and PHP 4.0.6 - success!

From: Date: Tue, 18 Sep 2001 21:22:40 +0000
Subject: PDFlib 4.0.1 and PHP 4.0.6 - success!
Groups: php.install 
Request: Send a blank email to php-install+get-4339@lists.php.net to get a copy of this message
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)

« previous php.install (#4339) next »