Intermittent mysql problems on PHP/IIS

Discussion in 'PHP' started by forcer, May 24, 2007.

  1. #1
    Guys,

    I have a serious problem on my Wordpress websites. I have moved the blogs recently from a different server and also upgraded to a newer version of mySQL and PHP. Its been 2 weeks now and the problem appeared for the 2nd time now.

    What happens:

    Suddenly, website stops working and wordpress reports:
    Your PHP installation appears to be missing the MySQL which is required for WordPress" IIS sometimes

    I have found out via phpinfo() that it really looks like that mySQL connector is unloaded. That is really strange as mysql is properly configured in php.ini

    I think that possibly the IIS worker has recycled and after the recycling the mySQL extension didn't load up properly, because if I restart the IIS then websites are working again properly.

    Do you have any advice how to fix it? Why mysql extensions are unloading?

    Thanks!
     
    forcer, May 24, 2007 IP
  2. coldgansta

    coldgansta Guest

    Messages:
    1,614
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    newer version of mySQL and PHP could be your problem.
    You should contact your server host and tell them your problem and they will help rather than loose costom.cos you can find hosting with the same versions that your site or scripts run on corectly.
     
    coldgansta, May 24, 2007 IP
  3. manilodisan

    manilodisan Peon

    Messages:
    224
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm sure the problem is at your server. Check it with the hosting providers.
     
    manilodisan, May 24, 2007 IP
  4. forcer

    forcer Peon

    Messages:
    151
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks guys. I am escalating it, but not really hoping to get this sorted as it seems quite a specific problem.

    If anyone else has any advice , then it would be appreciated.

    Additional details:

    PHP is version 5.2.1
    MySQL Ver 14.12 Distrib 5.0.37, for Win32
    MySQL connectors for PHP - php_5.2.0_mysql_5.0.27-win32.zip , php_5.2.0_mysqli_5.0.27-win32.zip
     
    forcer, May 25, 2007 IP