Got random 500 Internal Server error on all accounts on server - php pages

Discussion in 'Apache' started by UberBrainChild, Aug 6, 2009.

  1. #1
    So why would this error show up on every account on a dedicated server, it seems to specifically affect the php files?

     
    UberBrainChild, Aug 6, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Are you using su_php for the handler? If so, it more than likely has to do with permissions. Check your apache error logs.
     
    RHS-Chris, Aug 6, 2009 IP
  3. UberBrainChild

    UberBrainChild Banned

    Messages:
    304
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, i changed the php5 handler to cgi and everything seems to be ok for now.
     
    UberBrainChild, Aug 6, 2009 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    Hi,

    Glad to know that it is fixed. Generally 500 Internal server error occurs due to misconfiguration in PHP, Apache, htaccess or any other settings. To find the root cause of such error, you will require to check Apache error log.

    Kailash
     
    kailash, Aug 8, 2009 IP
  5. UberBrainChild

    UberBrainChild Banned

    Messages:
    304
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok, thanks for the extra info

    another way that i found to correct this issue is to recompile apache, it will create about 5min of downtime but works also
     
    UberBrainChild, Aug 8, 2009 IP