8

I am getting this error.

Internal Server Error

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

Please contact the server administrator, webmaster@crimsonbux.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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.6 Server at www.crimsonbux.com Port 80

Can someone please let me know how I can solve it?

Jason Sturges
  • 15,855
  • 14
  • 59
  • 80
user1478427
  • 99
  • 1
  • 1
  • 2
  • Does this answer your question? [How do I get PHP errors to display?](https://stackoverflow.com/questions/1053424/how-do-i-get-php-errors-to-display) – Your Common Sense Mar 01 '23 at 07:02

5 Answers5

14

you can check out the error log and get more information on what is causing the error. If you have an administrator gui provided to you by your host, that will be a good place to check. Here is an example video for cPanel (you will want to check with your host for how to access this report on your specific admin. interface):

http://www.youtube.com/watch?v=pzO1UNHZjZo

Your Common Sense
  • 156,878
  • 40
  • 214
  • 345
DanielJLong
  • 238
  • 1
  • 7
  • Thanks, you answer helped me to narrow down the issue. setting file permission to 644 worked. – Sridhar Jan 09 '15 at 07:51
  • Yes! In the error log, the error said: "myfile.php is writeable by group". The file had "664" permissions (which means "6" or read&write for the group). I've set permissions to 644, and it worked! – villamejia Jun 04 '17 at 03:15
3

I am also getting 500 Internal server error. My Problem

Try checking the server error. In my case I used

cd /var/log

Then I used sudo cat apache2/access.log (I was not able to cd into the apache2 directory directly, so this workaround)

also try sudo cat apache2/error.log if it helps.

Community
  • 1
  • 1
uutsav
  • 389
  • 5
  • 16
1

If any of the above or other solution is not working for you then have a look at this link

https://forums.cpanel.net/threads/public_html-is-writable-by-group-error.627391/

Here Cpanel community team member suggest that public_html should have the permission set as 750

This solution worked for me :)

Ghanshyam Bagul
  • 169
  • 1
  • 12
0

In my case, it was due to a Japanese space (Zenkaku space) in my PHP file.

For PHP, it shows errors to the client side or logs errors to a file depends on how you configure the php.ini file. Either way, I got nothing from PHP when there is a Japanese space in the myfile.php

shintaroid
  • 1,556
  • 3
  • 20
  • 34
0

My production web_server had the xdebugger setting disabled in it's php settings. I reenabled the xdebugger and the server 500 error was replaced by the php script error in php page.

  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 19 '22 at 07:55