Title: Installing/Upgrading Issues
Last modified: August 19, 2016

---

# Installing/Upgrading Issues

 *  Resolved [Uzma](https://wordpress.org/support/users/uzma/)
 * (@uzma)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/installingupgrading-issues/)
 * I tried to upgrade to version 3.0 but couldn’t get it to work (every time i went
   to upgrade.php page nothing happened) then I deleted the files again and uploaded
   them. Now I get this error:
 * > db_version(); $php_compat = version_compare( $php_version, $required_php_version,‘
   > >=’ ); $mysql_compat = version_compare( $mysql_version, $required_mysql_version,‘
   > >=’ ) || file_exists( WP_CONTENT_DIR . ‘/db.php’ ); [@header](https://wordpress.org/support/users/header/)(‘
   > Content-Type: ‘ . get_option( ‘html_type’ ) . ‘; charset=’ . get_option( ‘blog_charset’));?
   > > >
   >  WordPress
   > WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or
   > higher. You are running PHP version %4$s and MySQL version %5$s.’), $wp_version,
   > $required_php_version, $required_mysql_version, $php_version, $mysql_version);
   > elseif ( !$php_compat ) printf( __(‘You cannot upgrade because WordPress %1
   > $s requires PHP version %2$s or higher. You are running version %3$s.’), $wp_version,
   > $required_php_version, $php_version ); elseif ( !$mysql_compat ) printf( __(‘
   > You cannot upgrade because WordPress %1$s requires MySQL version %2$s or higher.
   > You are running version %3$s.’), $wp_version, $required_mysql_version, $mysql_version);?
   > >
 * I’m running Version 5 for MySQL and version 4 on PHP. So I know i meet the requirements
   cuz my previous versions of wordpress worked fine too.
 * Now I’m wondering if I’ve lost everything on this site? or what’s going on.
 * Please help!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1561993)
 * [Download WordPress](http://wordpress.org/download/) again and make sure that
   your FTP client is set to upload the files as ASCII and **not** Binary.
 *  Thread Starter [Uzma](https://wordpress.org/support/users/uzma/)
 * (@uzma)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1562016)
 * Still getting the same error:
 * > db_version(); $php_compat = version_compare( $php_version, $required_php_version,‘
   > >=’ ); $mysql_compat = version_compare( $mysql_version, $required_mysql_version,‘
   > >=’ ) || file_exists( WP_CONTENT_DIR . ‘/db.php’ ); [@header](https://wordpress.org/support/users/header/)(‘
   > Content-Type: ‘ . get_option( ‘html_type’ ) . ‘; charset=’ . get_option( ‘blog_charset’));?
   > > >
   >  WordPress
   > WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or
   > higher. You are running PHP version %4$s and MySQL version %5$s.’), $wp_version,
   > $required_php_version, $required_mysql_version, $php_version, $mysql_version);
   > elseif ( !$php_compat ) printf( __(‘You cannot upgrade because WordPress %1
   > $s requires PHP version %2$s or higher. You are running version %3$s.’), $wp_version,
   > $required_php_version, $php_version ); elseif ( !$mysql_compat ) printf( __(‘
   > You cannot upgrade because WordPress %1$s requires MySQL version %2$s or higher.
   > You are running version %3$s.’), $wp_version, $required_mysql_version, $mysql_version);?
   > >
 * If you go to [http://saanamsmind.com](http://saanamsmind.com) , you will see 
   it’s all blank. my blog is on the directory on [http://saanamsmind.com/blog](http://saanamsmind.com/blog)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1562026)
 * Are you sure that your hosting provider has PHP 4.3 or higher?
 *  Thread Starter [Uzma](https://wordpress.org/support/users/uzma/)
 * (@uzma)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1562034)
 * Yes. I called and confirmed with them again.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1562051)
 * Try another FTP client. Again, make sure that it’s uploading as ASCII.
 *  Thread Starter [Uzma](https://wordpress.org/support/users/uzma/)
 * (@uzma)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1562210)
 * never mind, figured it out.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Installing/Upgrading Issues’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 2 participants
 * Last reply from: [Uzma](https://wordpress.org/support/users/uzma/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/installingupgrading-issues/#post-1562210)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
