I'm attempting to make a new compile of php, apache, gd, etc without affecting the current build.
I used this configure string for php:
./configure --prefix=/home/www --exec-prefix=/home/www --with-apxs=/home/www/bin/apxs --enable-versioning --with-ftp --enable-ftp --enable-trans-sid --enable-track-vars --with-gdbm --with-zlib --enable-sysvsem --enable-sysvshm --enable-inline-optimization --with-imap=/usr --with-pnglib-dir=/home/www --with-ttf=/home/www --with-config-file-path=/home/www/conf --with-xml=/usr --with-mysql --with-pdflib=/home/www --with-ttf --with-gd=/home/www --enable-gd-imgstrttf --with-png-dir=/home/www --with-jpeg-dir=/home/www --with-ttf --with-gettext --enable-sockets --with-mm=/home/www
First off, I couldn't get mm to compile in. It kept searching in /usr/local for the mm libraries instead of the path I specified. I couldn't figure out why, so I took out the --with-mm and it compiled fine. However, when i try to run apache it gives me:
Syntax error on line 222 of /home/www/conf/httpd.conf:
Cannot load /home/www/libexec/libphp4.so into server: /home/www/libexec/libphp4.so: undefined symbol: gdImageCreateFromJpegCtx
./bin/apachectl start: httpd could not be started
I've been trying to get this new build working for the past 3 days, I'd really appreciate it if anyone could help me.