Upgrade to php version 5.3.1

Discussion in 'PHP' started by Renier, Jan 13, 2010.

  1. #1
    Hi guys. I'm getting the following warning after upgrading to php version 5.3.1

    PHP Warning: mysql_connect(): Headers and client library minor version mismatch.

    Any idea what could be wrong?

    Thanks in advance
     
    Renier, Jan 13, 2010 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    How did you upgrade and what platform are you running on? Most likely there is some dependency that was not properly installed or configured with the new setup.
     
    jestep, Jan 15, 2010 IP
  3. Steve136

    Steve136 Peon

    Messages:
    240
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi

    Do a <?php echo phpinfo(); ?> and scroll down to the MySQL Information.

    Client API library version
    Client API header version

    Make sure those two values match, or you will get a version mismatch. Try re-installing the MySQL PHP extension and try again.

    You may have upgraded PHP but still using the old MySQL extension from the previous install.

    Regards,
    Steve
     
    Steve136, Jan 15, 2010 IP