PHP doesn't work...

Status
Not open for further replies.

peyman

New Member
Messages
28
Reaction score
0
Points
0
Sorry, PHP doesn't work in my site... I recieve a message that It says...
http://anifuture.x10hosting.com/index.php
-
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@anifuture.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.
-
But HTML works... for example...
http://anifuture.x10hosting.com/chat/

What is the problem?
--
Regards.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
That would be something in your code, or the following image would fail to load:

ubar.php


PHP is working fine - something's not coded properly in your index page.

(side note: my homepage's index is in php, loads without a hitch, and the userbar above is loaded through a php script that was previously non-functional cause the gd library wasn't installed)
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Also please remember to "chmod" these files to "755" as if you give them too many permissions you will get this error.
 

peyman

New Member
Messages
28
Reaction score
0
Points
0
I can't change CHMOD :nuts:
-
SITE CHMOD 755 /www/index.php
550 Could not change perms on /www/index.php: Bad file descriptor
ERROR:pigeon: Requested action not taken (e.g., file or directory not found, no access).
-
 

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
Have you tried doing it in the File Manager? Click on the file's name and in the right sidebar, click "change permissions".
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Ok

Go into "public_html" and try again.

Soi use "public_html/index.php"
 
Status
Not open for further replies.
Top