I am using php 7 and Apache 2 for running my local web server. I am, however, facing a weird issue of php code getting printed on the browser instead of it getting executed.
I have tried all the suggested fixes I could find online but none of them seem to work. Here is a link to my httpd.conf file for reference: