I tried to compile PHP with the following options. I need GD/TTF support for
creating dynamic images. I have it working on one of my servers, and I am
trying to get it working on the other server. I downloaded and installed the
GD-1.3-5 RPM (for GIF compatibility) and used the following configure
options:

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gettex
t=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir
=/usr/bin --with-zlib --enable-magic-quotes --with-ttf=/usr/lib/libttf.so --
enable-track-vars --enable-xml --disable-debug --with-interbase=shared --wit
h-pgsql=shared --with-ldap --with-mysql

PHP compiled and installed successfully, but Apache can't load PHP. Here is
the error I get:

Setting up Web Service: Syntax error on line 57 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: gdImageColorResolve

I ended up just commenting out the three PHP lines in httpd.conf so at least
I have Apache working properly.

Please help, as I need PHP support back ASAP!

Erica



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to