Same is the case in mine. I have ubuntu 8.04, Xampp 1.6.7.
I have installed and started the service. But when I tried to access http://localhost
or try to open any other php file, it is not opening properly, instead it is displaying the php code.
I also tried to install XAMPP in Windows XP. Initially I got this problem later I disabled the firewall and then it started working.
Could it be that any firewall is active in Ubuntu?
Thank you in Advance