The following is a sample configuration of PHP. It is not unusual to have different configuration script parameters, as this depends on the system and options needed for PHP. This configure script format should be followed either if one does not have mod_ssl installed, or if mod_ssl was configured with -enable-rule=EAPI (as detailed above).
# cd /opt/apache/php-4.3.x # ./configure \ --with-apxs=/path/to/installed/apache/bin/apxs \ --with-pgsql=/usr/local/pgsql/ \ --with-mysql=/usr/local/mysql/ \ --enable-track-vars \ --enable-versioning \ --with-imap=../imap-2002e/ \ --with-openssl=../openssl-0.9.7d/ \ | tee configure_output.txt
The file configure_output.txt should be double checked to see if the configure script reported errors or not. If so, it is best to install or fix the problems detailed, and to proceed with configure again.