Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do I upgrade php from 5.2 to 5.4


jimsmega

Recommended Posts

Posted

I am not a developer but I did implement Oscommerce and create a store years ago. Now my hosting service (Host monster) says I am out of date with 5.2 and need to update to 5.4. I tried a test of changing my php version and no go. Where do I begin? I believe my oscommerce is pretty old too but I don't know how to find the version of it. Forgive me it was a long time ago. They say it will quit working in 48 hrs if I do not update it. Help !!!

Posted

You can see which version you have in this file includes/application_top.php

 

As for upgrading it, when you find out what version you have then you start the upgrade from the version right after it and then the following version and so un until you reach 2.3.3.4

 

You can find the upgrade packs here: http://www.oscommerce.com/Products

 

Alternatively you can install a brand new 2.3.3.4 shop and then import over customers, orders, products and categories from the old shops db.

 

Posted

Actually, if you're starting out at osC 2.2-anything, you're better off jumping directly to 2.3.3.4. The upgrade from 2.2-RC2a to 2.3.0 will leave you with a neither-fish-nor-fowl "Frankenstore" hybrid that will be difficult to maintain and upgrade over time. That upgrade should never have been released, and should be withdrawn. You can install 2.3.3.4 and import a copy of your existing database, and migrate the database from 2.2 to 2.3 level and copy over your product images. Work in a /test or /dev directory with a new database, so you don't mess up your production store. Once you have 2.3.3.4 working with your data, you can look into tweaking the theme and installing add-ons. When you're happy with it, back up your old store (files and database) and cut over to the new one.

  • 2 months later...
  • 4 weeks later...
Posted

I am not a developer but I did implement Oscommerce and create a store years ago. Now my hosting service (Host monster) says I am out of date with 5.2 and need to update to 5.4. I tried a test of changing my php version and no go. Where do I begin? I believe my oscommerce is pretty old too but I don't know how to find the version of it. Forgive me it was a long time ago. They say it will quit working in 48 hrs if I do not update it. Help !!!

 

"escused moi" my curiosity.

 

Are you working with hostgator? If the reply is yes, YOU ARE NOT forced to update to 5.4.

 

You will be able to 'donwgrade' the php version from 5.4 to 5.2, a place where osc 2.2 runs without troubles.

 

Please, contact with support team to tell you the right direction to be calm.

 

http://support.hostgator.com/articles/cpanel/php-configuration-plugin

 

If not is the case, ask to the host provider to allow (via .httaccess) to tell to server that you web wants to work in 5.2

 

The change from 2.2 -2.3.4 is like start again (in the PHP side, the code), because ALL THE CHANGES made will be miserably lost and you will be forced to add AGAIN in the new script whith new versions (if any) of them.

 

With the database seems to be like a holy grial, that all know how do the change but hundred of users that don't know about mysql (the database) means are lost...

 

If you are planning to update your scrip to 2.3.x Try this link with some interesting suggestions:

 

http://addons.oscommerce.com/info/8731

 

And the corresponding forun:

http://www.oscommerce.com/forums/topic/376743-upgrade-database-22-231/ for more information regarding the upgrade

Posted

There's nothing wrong with staying at PHP 5.2 for a while, to buy time while you carefully and methodically upgrade to PHP 5.4 and the latest osC (2.3.3.4 at the moment). However, it is not a good idea to plan to stay there indefinitely at PHP 5.2 (no longer supported) and osC 2.2 (effectively End of Life). Store owners should be more proactive in keeping abreast of what the current versions of both are, and what your host is likely to be at over a certain time, but that smacks of IT and most store owners are business people, not IT geeks. At any rate, you can plan for upgrades and carry them out as time permits, rather than being in a last-minute panic.

 

By the way, if you are considering moving up the the latest and greatest osC, do NOT upgrade a step at a time. The move from 2.2 RC2a to 2.3.0 will leave you with a hybrid "Frankenstore" that is difficult to maintain and find add-ons for. Better to start afresh (code-wise) with 2.3.3.4 and migrate your existing data over. You can do this in parallel with your running operational store, so it's not affected until the day you decide to shut it down and cut over to the new store.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...