how to setup PHP5 ================= 1.install PHP5 sudo apt-get install php5 libapache2-mod-php5 2.install PHP5-cli (so, be capable of running PHP5 script from command line) sudo apt-get install php5-cli 3.install php5-cgi (so, be capable of executing PHP5 scripts without installing PHP5 Apache module) sudo apt-get install php5-cgi 4.install php5-mysql (so, to use MySQL with PHP5) sudo apt-get install php5-mysql 5.install php5-pgsql (so, to use PostgreSQL with PHP5 you ) sudo apt-get install php5-pgsql 6. sudo /etc/init.d/apache2 restart 7. test (run following PHP5 phpinfo script) a) save following content in a file phpinfo.php b) place it under DocumentRoot directory of Apache2 Web server (share_www or /var/www) c) run it by http://192.168.1.100/phpinfo.php