Error starting apache after compiling php-4.0.6 with pdflib-4.0.1

From: Date: Mon, 21 Jan 2002 07:08:00 +0000
Subject: Error starting apache after compiling php-4.0.6 with pdflib-4.0.1
Groups: php.install 
Request: Send a blank email to php-install+get-5644@lists.php.net to get a copy of this message
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

« previous php.install (#5644) next »