Upgrading php4 to php5 in Apache 1.3

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
sadi782001
Forum Newbie
Posts: 1
Joined: Fri Oct 26, 2007 12:02 am

Upgrading php4 to php5 in Apache 1.3

Post by sadi782001 »

I worked in php4 environment. I need to upgrade ph4 to php5. I am quite new in php. could anyone provide me some helpfull link? and If I do the upgrade does it effect all my php4 code. (Its a big site 7000 hits in a hour )
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Post by DaveTheAve »

First off, If your doing such a big update, make sure ALL the php code is PHP5 compatible. If it is made JUST for PHP4 it might not work on PHP 5; My suggestion is copying code to another server and testing the PHP 5 install there sense you have such a large traffic amount.

EDIT: It also helps to tell us what version/distro of Linux your using. If it's debian or Ubuntu, apt-get is your friend.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I say practice on your dev machines, then once you get it right, tell your user base that you will down for maintenance for a weekend and take your time getting it right.
Post Reply