pre(for oracle)
shell> pwd
/any/path/to/apache_1.3.x
shell> LIBS=-lpthread <-- for PHP oracle extension modules
shell>
...
shell>
shell> ./configure `grep -v '#' this-file`
or
shell> grep -v ^# this-file | tr "\n" " " | sh
##
## if sub options, don't set to'shared'
##
--prefix=/usr/local/php
--with-apxs=/usr/local/apache/bin/apxs
#--with-apache=../apache_1.3.27
--with-mysql=/usr/local/mysql
#--with-oci8=shared,/opt/oracle/product/8.1.7
--with-pgsql=/usr/local/pgsql
#--with-imap=shared,/usr
#--with-imap-ssl=/usr
--with-config-file-path=/usr/local/apache/conf
--with-regex=php
--with-zlib=shared
--with-gd=shared
--with-gettext=shared
--with-db
# not db(xDBM) can be build as 'shared'
--with-gdbm
# sub of '--enable-dba'
#--with-dbplus
--with-openssl=/usr/local/ssl
# not openssl can be build as 'shared'
#--with-snmp=shared,/usr
--disable-debug
--enable-mbstring=shared
# Enable multibyte string support
#--enable-mbstr-enc-trans
# Enable japanese encoding translation
# sub of '--enbale-mbstring'
# to enable, do not shared as '--enable-mbstring=shared'
#--enable-mbregex
# Enable # multibyte regex support
# sub of '--enable-mbstring'
# to enable, do not shared as '--enable-mbstring=shared'
--enable-dba=shared
#--enable-dbx=shared
--enable-dio=shared
--enable-debugger
--enable-track-vars
--enable-trans-sid
--enable-ftp=shared
--enable-calendar=shared
--enable-sockets
# it's static compiled, do not shared as '--enable-sockets=shared'
--enable-sysvsem=shared
--enable-sysvshm=shared
--enable-safe-mode
--enable-gd-native-ttf
# sub of '--with-gd'
--enable-magic-quotes
#--enable-ucd-snmp-hack |