PHP not executing just showing source

Hi! Before I begin I need to let you know I’m relatively new to php. I have apache installed and the current php release. Apache is running fine but when I try to execute a php file it just displays the source code to the php file.

Iv’e got no idea where to begin fixing this. Has anyone else had a similar experience?

Got it sorted. I started httpd from the command line and it gave me back error messages I could understand. Added lines to httpd.conf and php.ini.

Sponsor our Newsletter | Privacy Policy | Terms of Service