I feel a bit lost, after installing apache with suexec on ubuntu12.04 on url click I'm prompted to download the page the message what I get a message what shows the following You have chosen to open which is: application/x-httpd-php (395 bytes)
Make sure that, along with the Apache package, you've installed the PHP package and configured Apache to use PHP for .php files.
It sounds like you either don't have mod_php installed, or you don't have it enabled in Apache.
sudo apache2ctl -M | sort should show you the currently running modules. The PHP module should be in there. If it's not, follow one of the thousand guides for installing it on your OS.