Just upgraded my PHP and Apache installation on Windows. After the upgrade, the PHP pages are not executed on the server anymore but the code was sent to the browser.
Doh!
Solution was to add a line to the „httpd.conf“ file:
AddType application/x-httpd-php .php
Seems that the upgrade somehow removed the line from somewhere, maybe in the „mime.types“ file.
The line has to be added inside the „IfModule mime_module“, like in the following excerpt:
<IfModule mime_module> AddType application/x-httpd-php .php </IfModule>
Works well after that. Remember to restart Apache. 🙂