Apache http://www.apache.org/dist/httpd PHP http://www.php.net/downloads.php mod_perl http://perl.apache.org/dist/ ./configure --with-mpm=worker --disable-asis --disable-imap --enable-so --enable-rewrite --enable-deflate --enable-auth-digest && make && make install [ By default mod_so is included already ] --enable-proxy --enable-cache --enable-mem-cache --enable-speling --enable-ssl --enable-dav --enable-dav-fs http://httpd.apache.org/docs-2.0/new_features_2_0.html Everything Apache2 seems to use APXS2, and is no longer compiled into Apache. PHP === ./configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-debug --enable-memory-limit --with-openssl --with-zlib --with-bz2 --with-curl --with-gettext --with-mysql=/usr/local --with-pgsql --with-gd --with-jpeg-dir --with-png-dir --enable-mime-magic && make && make install * These 2 lines will need to be in your httpd.conf file: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php * Add these 4 files to log errors to the error_log and hide PHP from clients # Log errors to Apache php_admin_flag log_errors On # disable X-Powered-By: PHP/4.3.? in Apache headers php_admin_flag expose_php Off # for old-style <4.1 PHP php_admin_flag register_globals on Mod_perl (optional) =================== % perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 % make && make test % make install LoadModule perl_module modules/mod_perl.so PerlModule Apache2 # Make old mod_perl modules work with mod_perl2 PerlModule Apache::compat Using Apache::AuthDBI I had to change lines 177 and 429 in /usr/lib/perl5/site_perl/5.8.0/Apache/AuthDBI.pm from:
Last modified: Wednesday, December 31 1969 @ 19:00 EST
© Ian Samuel, 2010 http://braindump.MrZesty.net |