Hey all. I'm running Redhat 7.0. I wanted to add the pdflib functions to
php which I have done successfully at work on a LinuxPPC machine.
Unfortunately this meant ripping out the apache and php rpms and
recompiling from scratch. Everything seems to compile ok, apache runs fine
without the php module, but when I try to start apache with the php module
I get this error:
Syntax error on line 236 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
X*X*/libz.so: shared object not open
Line 236 of httpd.conf is this:
LoadModule php4_module libexec/libphp4.so
libz.so is in /usr/lib
command to configure apache 1.3.22:
./configure \
--prefix=/usr/local/apache \
--with-layout=GNU \
--enable-module=most \
--enable-shared=max \
--with-perl=/usr/local/bin/perl \
--with-port=80 \
--logfiledir=/var/log/httpd
command to configure pdflib 4.0.1:
./configure \
--enable-shared \
--enable-static \
--with-java=no \
--with-perl=/usr/local/bin/perl \
--with-py=/usr/bin/python \
--with-tcl=/usr/bin/tcl \
--enable-php
command to configure php 4.0.6:
./configure \
--with-xml \
--with-apxs=/usr/local/apache/sbin/apxs \
--with-openssl \
--enable-trans-sid \
--with-zlib=/usr \
--with-pdflib=/usr/local \
--enable-shared=pdflib \
--with-mysql=/usr \
--with-pgsql=/usr \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-tiff-dir=/usr
I've tried several different configurations, this is just the latest. I
haven't found this error in the archives so I don't know quite what to do
next. Any suggestions?
Thanks much.
-Steve
--
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]