I am trying to install php-5.0.0b1 on a Red Hat 9.0 box. I had recently had it installed with apache but did not have gd support. Now that I need it I can't get it reconfigured.
### ORIGINAL WORKED ### ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --prefix=/usr/local/apache/php \ --with-config-file-path=/usr/local/apache/php ### ATTEMPT 1 of a billion ### # ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --prefix=/usr/local/apache/php \ --with-config-file-path=/usr/local/apache/php \ --with-gd ... If configure fails try --with-jpeg-dir=<DIR> configure: error: libpng.(a|so) not found. ### I had /usr/lib/libpng.so.3.1.2.2 and libjpeg.so.62.0.0 ### so I made the symbolic links /usr/lib/libpng.so and libjpeg.so ### tried with the following options --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib-dir=/usr If configure fails try --with-jpeg-dir=<DIR> configure: error: png.h not found. saw this in a post --with-jpeg-dir=/usr/local/src/php-5.0.0b1 \ --with-png-dir=/usr/local/src/php-5.0.0b1 \ --with-zlib-dir=/usr/local/src/php-5.0.0b1 ... configure: error: png.h not found.