WordPress Update requires upgrading to PHP 5.x and MySQL 5.x
Writing by shivdev on Wednesday, 27 of July , 2011 at 9:19 pm
After upgrading to WordPress to 3.2 all hell broke lose! I wasn’t able to even see the blog …
Your server is running PHP version 4.4.9 but WordPress 3.2 requires at least 5.2.4.
So I went ahead called my hosting provider and upgraded PHP and was able to see the blog but couldn’t add/update new posts…
You cannot update because WordPress 3.2 requires MySQL version 5.0 or higher.
Don’t Panic (These 5 steps worked for me and will probably get you past your little hurdle).
- Backup your database (This is probably a MySQL 4.x database)
- If you don’t know which database then
- Open up Path_To_WP_Blog/wp-config.php
- define(‘DB_NAME’, ‘jb007’); // The name of the database
- define(‘DB_USER’, ‘jb007’); // Your MySQL username
- Create a new MySQL 5.0 database
- Note down credentials (Your hosting provider should have a way to get this for you)
- $hostname
- $dbname
- $username
- $password
- Restore the Backed up 4.x database on the new 5.x database
- Your hosting provider should have a way to get this for you
- Update the wp-config.php
- From the credentials you noted down in Step 2
- When you login to your admin, WordPress may require a further update which is a painless click of a button and then you should be good to go!
Leave a comment
Category: Hosting/Web,Wordpress
- Add this post to
- Del.icio.us -
- Digg -
- -
- Tweet -
-
-