Jump to content



Latest News: (loading..)

- - - - -

Upgrade From PHP4 to PHP5


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#-19   myronjbarrett

myronjbarrett
  • Members
  • 7 posts

Posted 14 November 2011 - 01:48 PM

I have am currently using osCommerce v2.2 on an Apache server and am looking at upgrading my server from PHP4 to PHP5.  Are there any best practices, other than a full backup, that I should be aware of?  What problems am I likely to encounter?  Are there any code or file changes that will need to be made?

Thanks,

Rin

#-18   FIMBLE

FIMBLE
  • Community Sponsor
  • 6,576 posts

Posted 14 November 2011 - 02:31 PM

Hello Rin
Which of the 2.2 family do you use?
there are 2.2 MS,  2.2 Rc1A,  2.2 RC2A
It depends on the version you are using, so far as i am aware and from memory the only one that might cause you problems is the 2.2 MS version
Nic
Sometimes you're the dog and sometimes the lamp post

My Contributions

#-17   myronjbarrett

myronjbarrett
  • Members
  • 7 posts

Posted 14 November 2011 - 04:09 PM

I'm using 2.2 MS.

#-16   stickypod

stickypod
  • Members
  • 85 posts

Posted 14 November 2011 - 06:35 PM

Here's a good start:  http://forums.oscommerce.com/topic/381320-since-were-updating-deprecated-session-and-ereg-solutions/

Some functions in PHP 4 have been deprecated in PHP 5.  Follow the link above and you'll get a good idea what you're up against.
Anyone can buy a camera... it's what you do with it that counts!
Sticky Pod
www.stickypod.com

#-15   FIMBLE

FIMBLE
  • Community Sponsor
  • 6,576 posts

Posted 14 November 2011 - 06:40 PM

Quote

Here's a good start: http://forums.oscomm...ereg-solutions/

Some functions in PHP 4 have been deprecated in PHP 5. Follow the link above and you'll get a good idea what you're up against.
That will only apply if the php is to be 5.3 xx versions, otherwise if less than the 5.3 it wont be so bad as that, you can see the changes required here http://addons.oscommerce.com/info/6654
Niv
Sometimes you're the dog and sometimes the lamp post

My Contributions