PHP code not recognised


#1

I have installed apache2 and php5. My trial page index.html displays OK in Firefox except that the script <?php echo "This is John page" ?> isn’t rendered.
The result of a2query -m php5 is php5(enabled by maintainer script)
Any ideas on what’s wrong and how to correct the problem
Thanks


#2

Php only executes for php extensions, run thru the server.


#3

You need to change the .html to .php