Zen Cart Logo
Forums / Upgrading to 1.5.x / The PHP version you are using (4.4.9) is too old

The PHP version you are using (4.4.9) is too old

Views: 1,328

Results 1 to 5 of 5
14 Sep 2012, 8:05 PM
#1
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

The PHP version you are using (4.4.9) is too old

Hi,

Apologies if this is answered somewhere here - I could not find it searching various phrases...

I am upgrading a client's ZC store from 1.3.8a to 1.5. I have basically upgraded it on a testing server and am now doing the steps in the upgrade instructions under "3. Testing". I made a copy of the database in a new database and uploaded the edited 1.5 version files (which had been tested on another server). I edited the configure files to point to the live server (but to the testing directory) and also changed the database values. When I try to go to http://www.myclient.com/new_store/zc_install/ I get an error message that says:

Unfortunately we've discovered a problem:

The PHP version you are using (4.4.9) is too old, and this version of Zen Cart® cannot be used. You need to upgrade your server to the latest version of PHP.

However, when I look at the values shown in admin on the live store (old version) it shows that the version of PHP on the server is 5.2.17.

Any idea why this is giving a wrong value and thus preventing me from upgrading?

BTW, I can view the new version store by going to http://www.myclient.com/new_store/ It looks okay except there are two messages at the top:

Warning: Installation directory exists at: /homepages/22/d250293540/htdocs/new_store/zc_install. Please remove this directory for security reasons.

Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

The first I would expect to see and the second seemed like I would be able to get around the zc_install block by going directly into the admin (renamed per the new guidelines). But, when I try that I get a message that the database needs to be upgraded by going thru zc_install so I'm back to square one.

Very frustrating as I've already spent WAY more time on this upgrade than I quoted to the client.

14 Sep 2012, 8:17 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: The PHP version you are using (4.4.9) is too old

Please post a link to /zc_install/includes/phpinfo.php on that server.

14 Sep 2012, 8:21 PM
#3
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: The PHP version you are using (4.4.9) is too old

Hmm... sure enough it comes up with version 4.4.9 but it's weird because the admin of another directory on the same server says 5.2.17. I'll try just copying the php_info page over into the old store directory to see if it gets the same values (which it should - I can't imagine why it wouldn't)

14 Sep 2012, 8:27 PM
#4
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: The PHP version you are using (4.4.9) is too old

Of course this shows the same version 4.4.9 as expected. What's weird then is that the admin>tools>server/version info page shows the wrong PHP version. Oh well... off to get the hosting company to upgrade I guess!

14 Sep 2012, 8:39 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: The PHP version you are using (4.4.9) is too old

Perhaps your two hosting accounts are configured to use different PHP versions, and maybe simply having the hosting company reconfigure your accounts to use the new version may be all that's required.