500 Internal Server Error on php site

Discussion in 'Site & Server Administration' started by beeman, Mar 28, 2009.

  1. #1
    Hi:


    Site was working for 2 days and then for the php pages started returning 500 Internal Server Error. Tried running phpinfo.php and that returned 500 also.

    None of the php files were changed. Can't get a hold of the ISP. In a bit of a pickle.

    Wondering about the cause - any ideas?
     
    beeman, Mar 28, 2009 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    did you change your htaccess ?
     
    Camay123, Mar 28, 2009 IP
  3. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #3
    Look in .htaccess for any issues, rename it if in doubt and try your phpinfo.php file again.

    Another possibility is the host upgraded PHP and/or swapped to suPHP, so look to see if you have group write permission, if you have then try removing it. Just try it on phpinfo.php first and see if that fixes it. You can use your FTP client to change permissions, normally write click and permissions.

    If you have access to error logs you can look in there for any hints, if you have any errors in there let me know as it may help to guide you to a fix.
     
    tolra, Mar 28, 2009 IP
  4. beeman

    beeman Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Did not changed .htaccess.
    Finally got thru to the ISP support. Will report back what caused the problem.
     
    beeman, Mar 28, 2009 IP
  5. taham

    taham Peon

    Messages:
    97
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi,

    Check your .htaccess file and contact your hosting regard this
     
    taham, Mar 28, 2009 IP
  6. CrumX

    CrumX Banned

    Messages:
    326
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Altho this look like .htaccess setting error but sometimes Error 500 also generated when your server hit the max numfile of numproc. Too many running process can cause this. Check your error log and paste it here.. Someby might be able to help. ^^
     
    CrumX, Mar 29, 2009 IP
  7. beeman

    beeman Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    From the ISP - This was caused by a cPanel update that ran yesterday but failed up upgrade the php version. PHP was recompiled on the server to resolve the issue.
     
    beeman, Apr 4, 2009 IP
  8. TheHostingPalace

    TheHostingPalace Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for posting the solution :) Always helpful to know!
     
    TheHostingPalace, Apr 6, 2009 IP
  9. traian13

    traian13 Peon

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Strange error... but thanks for the solution!
     
    traian13, Apr 7, 2009 IP