Php is not working

Status
Not open for further replies.

flavioa.mello11

New Member
Messages
4
Reaction score
0
Points
0
I am havind an error 500 page for all my php codes.

A simple code like:

<?php
echo "test";
?>

return

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, no-reply@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So, all my php is not working, html pages is working well, but all php return internal server error.
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
What are your file and folder permissions set as?
 

Anna

I am just me
Staff member
Messages
11,748
Reaction score
581
Points
113
Perms set as 777 does have that effect, it's a security thing.

In general files should have 644 and folders 755
 
Status
Not open for further replies.
Top