BAN - Solms
   

Apache and PHP

There are probably thousands of How-Tos that describe Apache installation. To be somewhat complete (and for my personal reference), I've written How-To number 1001

Fetch Apache2:
root@ford:~ # apt-get install apache2 libapache2-mod-php4

When apt-get is done and everything worked out OK, you should be able to browse to http://<ip-address> and be greeted with something like this:


Quickly check for PHP
root@ford:~ # echo '<?php phpinfo() ?>' > /var/www/phpinfo.php

And browse to http://<ip-address>/phpinfo.php. You should see a page describing lots of PHP settings and stuff.

Finished.
 

  Last modified: 2007-01-12