I'm new to PHP. I've started service apache2 and put a testphp.php file in its webroot directory with the following content
<?php phpinfo(); ?>
But when I want to see the result in the browser, the browser opens the source file instead of showing the contents of PHP language specification.
Greatest Thanks for anybody who helps me.