sudo apt-get install php5The default PHP 5.3.2-lubuntu4.2 will be installed from the Ubuntu Repository. When you install PHP, it will automatically set up, (or enable), libapache2-mod-php5 module necessary to marry Apache and PHP, and restart the Apache Web server for you. So you do not have to worry about other modules or libraries.
<?php phpinfo(); ?>