The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Update to MySQL 5.1

Discussion in 'General Discussion' started by matt-lovett, Mar 27, 2012.

  1. matt-lovett

    matt-lovett Registered

    Joined:
    Mar 27, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hey,

    Just updated from MySQL 5 to 5.1 and now all our PHP sites are saying Internal Server Error.

    I took notice of the alerts it mentioned but these are not the cause.

    Can someone please help?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please verify you ran EasyApache after upgrading MySQL to ensure Apache/PHP were built against the new version of MySQL. After you have done that, please check the Apache error log to determine the exact error message. The Apache error log is located at:

    Code:
    /usr/local/apache/logs/error_log
    Thank you.
     
  3. matt-lovett

    matt-lovett Registered

    Joined:
    Mar 27, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hey

    Yes and now my sites are not working correctly due to the /tmp/ folder being full - which seems to have occurred somehow from updating these things??

    Does anyone know how to empty this or at least some of it?

    I don't really need eaccelerator so maybe delete that folder in the tmp folder? How can I do this?

    Thanks.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You could move eaccelerator folder in /tmp to another location and then change the path for it in the global /usr/local/lib/php.ini file. Please ensure to restart Apache after moving it and revising /usr/local/lib/php.ini file. If you don't change the path in the php.ini file, it will simply begin filling up /tmp again unless you've uninstalled EAccelerator entirely.
     
Loading...

Share This Page