I'm trying to install PHP on my system separate to Apache, but don't want to go with a package like WAMP or xampp.
When I tried this previously the PHP application wasn't being executed by Apache and when viewing a PHP file in the browser, only showed the code instead of the rendered output like below:
<?php my php code ?>
How do I get Apache to know how to execute the PHP application so that when I load up PHP pages it displays the processed page and not the raw code?