I just recently installed an Ubuntu Server 10.10 but php doesn't seem to work. I created a file to show phpinfo() to make sure php works but it doesn't show anything. I looked for php.ini and I found three files:
/etc/php5/apache2/php.ini
/ets/php5/cgi/php.ini
/etc/php5/cli/php.ini
EDIT: Ooops! That was embarassing. I copied files from a different server and for some reason the permissions changed, this includes the test file that I use to test php. All I have to do is change the permission on all the files. SORRY about that this is a very stupid/nooby error on my part.