Hi AjServers,
AjServers wrote:According to my php book if you see the raw code either php is not installed properly or the browser isnt sure what to do with the .php extension.
Your php book is just partly correct. There are several possible issues causing that php is not served correctly, beginning with the wrong request protocol up to Server configuration issues. PHP is working correct on your environment, because the status page is served to you with php too.
To give you the correct hint we need some more information about your script, especially which URL your browser adressbar shows at the time you see the raw php output.
best wishes,
Altrea