build apache 2 with ssl and proxy and php ----------------------------------------- [root@igloo openssl-0.9.7]# ./config no-idea no-mdc2 no-rc5 shared [root@igloo openssl-0.9.7]# make depend [root@igloo openssl-0.9.7]# make all build-shared [root@igloo openssl-0.9.7]# make install [root@igloo httpd-2.0.44]# ./configure --prefix=/usr/local/apache2 --with-mpm=prefork --enable-mods-shared=all --enable-suexec --with-suexec --with-suexec-caller=apache --with-suexec-bin=/usr/local/sbin/suexec --with-suexec-uidmin=500 --with-suexec-gidmin=500 --enable-ssl --with-ssl=/usr/local/ssl --enable-deflate --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-proxy-ftp [root@igloo httpd-2.0.44]# make [root@igloo httpd-2.0.44]# make install [root@igloo php-4.3.1]# export LD_LIBRARY_PATH=/usr/local/apache2/lib:/usr/local/ssl/lib [root@igloo php-4.3.1]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ldap=shared --with-imap=shared --with-imap-ssl --with-mysql=shared --with-kerberos=/usr/kerberos --with-pear=/usr/share/pear --with-config-file-path=/usr/local/etc --with-gettext You will get "Call to undefined function: _( )" error if you don't enable "--with-gettext" [root@igloo bin]# pwd /usr/local/apache2/bin [root@igloo bin]# diff envvars envvars-std 5c5 < LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/ssl/lib:$LD_LIBRARY_PATH" --- > LD_LIBRARY_PATH="/usr/local/apache2/lib:$LD_LIBRARY_PATH" [root@igloo bin]# ./apachectl startssl |