php wont work anymore...

Status
Not open for further replies.

DJ-SnakeX

New Member
Messages
8
Reaction score
0
Points
0
Hi,
for some weird reason PHP wont work on my host anymore...
http://lb02.foreign-breaks.de/lb.php - a basic "echo"-file returns a 500' error :(

Any way to solve this issue?

Greetings
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Your main site, which is PHP driven, works fine for me.

I would check any .htaccess file in the directory containing the script and the script itself.
 
Last edited:

DJ-SnakeX

New Member
Messages
8
Reaction score
0
Points
0
Creepy...

I tried it on several PCs and also on some servers via curl...
none was able to display it right - it always returned that 500' error...

# curl http://lb02.foreign-breaks.de/lb.php
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>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.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>


//EDIT:
I purged the dir and the file only contains: <? phpinfo(); ?> - still 500' error
 
Last edited:

vishal

-::-X10 Guru-::-
Community Support
Messages
5,255
Reaction score
192
Points
63
You cannot use <? phpinfo(); ?> in free hosting,disabled for security .Try any other normal php script or try hello world.
 
Last edited:

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
change the folder perms to 755.

Due to security settings, files/folders that are directly accessed in the browser can not be world writable.

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