Forums

Weird PHP Version Issue (6 posts)

  1. lithium350
    Member
    Posted 9 months ago #

    I have two different websites. http://www.WisconsinSecuritiesFraud.com and http://www.Milwaukee-Business-Lawyer.com.

    I was running older versions of WordPress on both sites and decided to upgrade. I realized I had to update my PHP version with my server from 4 to 5. I did that and used the automatic update on the http://www.WisconsinSecuritiesFraud.com website. It worked great and I am running version 3.2.1.

    However, when I went to upgrade http://www.Milwaukee-Business-Lawyer.com I had to do the manual update (the version of WordPress I was running was too old for the automatic update). The update seemed to be successful, but when I go to login to the wp-admin settings I get the following message:

    "You cannot update because WordPress 3.2.1 requires MySQL version 5.0 or higher. You are running version 4.0.27."

    It does not make any sense as clearly I am running 5.0 or higher because it works for the http://www.WisconsinSecuritiesFraud.com

    Any help or suggestions is appreciated.

  2. ClaytonJames
    Member
    Posted 9 months ago #

    Do you need to upgrade PHP, or MySQL for //www.milwaukee-business-lawyer.com/?

    I realized I had to update my PHP version with my server from 4 to 5. I did that

    ...I ask because your error message is for MySQL, rather than PHP.

    You cannot update because WordPress 3.2.1 requires MySQL version 5.0 or higher. You are running version 4.0.27.

  3. lithium350
    Member
    Posted 9 months ago #

    That is a keen observation. I went back and looked at the "mysql" administration and it seems that I do have SQL 5.0 for http://www.SecuritiesFraudLawyer.com but 4.0 for http://www.Milwaukee-Business-Lawyer.com

    Sometimes it takes a second set of eyes to see the problem. Thanks for pointing it out. I suppose I will contact my web host, 1and1.com and see what they have to say, unless anyone has any suggestions as to how I upgrade the SQL.

    Thanks,

  4. lithium350
    Member
    Posted 9 months ago #

    errr I meant http://www.WisconsinSecuritiesFraud.com has SQL of 5.0, can't even keep track of the proper name of my website...

  5. rydog65
    Member
    Posted 6 months ago #

    Hi, answered this in another thread, but try going into your word press directory on FTP and find the file named "version.php" in the directory "wp-includes". Open that file, and about line 42 or so, you should see something like this:

    "$required_mysql_version = '5.0';"

    Just change the 5 to a 4 and upload changes. Your Word Press website will work and allow upgrades now. There is no need to upgrade your MySQL. That's a very bad idea because it may break other things running off MySQL databases that are not word press, and shared hosting accounts won't let you do that anyways, generally.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    No! For a start, you should never, ever, edit WordPress core files. And secondly, WordPress 3.2 and above requires PHP 5.2.4 or above. End of story. Changing the version check will not alter this. If anyone goes ahead with this, it won't be a case of "if your site collapses...". It will be "when your site collapses... don't come running here for help".

Reply

You must log in to post.

About this Topic