Jump to content

[Solved] 500 Internal Server Error - Php Disabled?


ctfisep

Recommended Posts

I recursively applied 644 permission on my public_html folder.

 

I can't display the files inside now xD .. and the website reads :

You don't have permission to access /index.php on this server.

 

 

_____

 

EDIT : I changed back to 777, and I can see again the files. Should I put 644 on index.php to see it displayed properly?

______

 

EDIT 2 : I changed it all to 755, looks to be working (+-), just got some php errors to fix but that's fine :D

 

 

Thanks Mlex!

Edited by ctfisep
Link to comment
Share on other sites

The public_html folder should be 750.

 

All folders inside should be 755, unless the folder is the root folder for a subdomain or addon domain (in which case it should be 750 like public_html is).

 

PHP files should be 644 (be aware that SFTP uploads are 664, which won't work until you change them...Apache does not like PHP files being writable by the group).

  • Like 1
Link to comment
Share on other sites

Ok perfect :)

Another last question, my cPanel, and my website keep Timing out, or at least have to load for at least 3-5 min for each page.

Is there a maintenance ingoing? Or is there any troubles with my server?

 

"Internal Server Error 500 : The cPanel Server operation timed out at cpsrvrd.pl line 531."

 

Have a very good day.

 

----

EDIT : also, when I try to rename a database, I also get a :

"(XID dvkdz5) The administrative request failed because of an error (ETIMEDOUT/110) with output: Timeout: Alarm"

There definitely seem to be a timeout issue :x

 

 

----

EDIT 2 : Seems to be working back again. I guess timeout shall happen sometimes :)

Thanks for all.

See you soon!

Edited by ctfisep
Link to comment
Share on other sites

You picked Johnny which is our experimental server. Experimental servers are for people who just want to experiment with their code and don't care about uptime or speed. If you want a faster more reliable server we recommend moving your account to a production server like Ricky or Tommy.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...