I installed apache2, php5 and the php5 apache module on Ubuntu 13.04.
Php is working on .php files but lines of php code inside html files do not execute.
Go
Add the following lines in /etc/apache2/mods-available/php7.0.conf SetHandler application/x-httpd-php
this worked for me. Thx Lukjar