OK, so recently I decided to upgrade my server. I downloaded apache 2.4.7 "httpd-2.4.7-win32-VC11.zip" and extracted all the files, configured them for my use and
When you say that you can see the code, you mean the browser prompts you to download the .php file right? Or does it display it onscreen? If its prompting to download the file, usually that means there's an Apache Handler issue. Try moving your AddType
rule in between the mime_module
conditional tags
TypesConfig conf/mime.types
# comment lines not shown
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php