Apache2 Install

[top] mod_perl - dynamic install o install apache2 from source > cd ~/src/httpd-2.x > sudo ./configure --prefix=/usr/local/apache2 > sudo make > sudo make test > sudo make install o install mod_perl from source > cd ~/src/mod_perl-2.x.x > sudo perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs > sudo make > sudo make test > sudo make install o httpd.conf LoadModule perl_module modules/mod_perl.so Creates the file named "file.txt" and accepts the following lines as file contents.  Press CTRL+d to exit data entry.


[top] mod_perl - static install o configure apache2 from source > cd ~/src/httpd-2.x > sudo ./configure --prefix=/usr/local/apache2 o compile mod_perl into apache2 source > cd ~/src/mod_perl-2.x.x > sudo perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX="../httpd-2.0.50" MP_AP_CONFIGURE="--with-mpm=prefork" o install apache > cd ~/src/httpd-2.x > make; make install Searches through man pages for relavent topics regarding the word print.


[top] php - dynamic install o install php from source > cd ~/src/php-5.2.1 > sudo ./configure --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php > sudo make; sudo make install > sudo cp php.ini-recommended /usr/local/apache2/php/php.ini add /usr/local/apache2/php/lib/php to the php.ini include_path o httpd.conf LoadModule php5_module modules/libphp5.so AddHandler php5-script php AddType text/html php AddType application/x-httpd-php-source phps Creates the file named "file.txt" and accepts the following lines as file contents.  Press CTRL+d to exit data entry.