I have installed the Apache server using apt-get in ubuntu. I also installed php5 library files.
But while trying to open .php files , it gives the pop-up like
"open as .phtml file ?"
On google, we can see more posts on this error. Most of them mentioned to add the following lines
in httpd.conf,
<ifmodule>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>
But in my system , it already added by php5 library installation.
Some of them mentioned to clear the browser cache.
Yes ! Its work for me....;-)