David,
Here's what I use and it works just fine:
# FOR PHP CGI
./configure --with-gd=/usr/local/src/gd-1.8.4
--with-ttf=/usr/local/src/freetype-1.3.1 --with-jpeg-dir=/usr/local/src/jpeg-6b
--with-mysql=/usr/local/mysql --enable-ftp
--with-pdflib=/usr/local/src/pdflib-4.01 --with-zlib-dir=/usr/lo
Hello!
I am working on a RH 6.2 box and i try to install and configure PHP 4.0.6 as
CGI and as and Apache module.
I have all the PHP files in /usr/local/install/php-4.0.6
There I try to configure as follows:
#FOR CGI
./configure \
--prefix=/usr/bin \
--with-exec-dir=/usr/bin/php/bin \
--with-mysq