site serves html but php is down

Status
Not open for further replies.

fgemmell

New Member
Messages
14
Reaction score
0
Points
0
This is the 500 error issue people been talking about. Ever since about midnight my site won't serve php files. I dicked around a bit and found I could get it to serve html but php no way. Just sticking this in: -

<?php
header('Content-type: text/html; charset=utf-8');
?>

and changing the extension makes the difference.
 

knightcon

New Member
Messages
69
Reaction score
0
Points
0
What is being outputed to the browser. If you are getting a download file window then most probably there is an error with your content type settings in CPanel, if it is outputting an error message then most probably PHP is working and there is a problem with the code. Please supply more information on what is actually happening.
 
Status
Not open for further replies.
Top