John wrote:
Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.
If your server is running PHP4, then it's time to upgrade the Linux
distribution on it too, as it's more than likely that the distribution has
ended it's support of that version of Linux.
It can be good to look a bit on a distribution that has an simple way to
upgrade to a new version every time they release a new one (which don't
require someone to go and do a upgrade with a CD/DVD).
He says he wants to charge us £500 a year to install and support it
because it is a lot of work, and the problems it will create on our
current systems are huge etc.
If you are using OOP in your PHP4 code, then there may be some problems with
your scripts and they may need to be upgraded, due the differences between
php4 and php5. There are some other differences which also affects other
functions that can cause troubles.
If he will do the fixes on the PHP scripts too, then it may be worth for a
years support, but not next year, as he will not have anything serious to do.
Now I installed 5 on my PC at home running Apache without any problems
and develop sites locally and then upload to the server (running 4). I
have never had a problem with compatibility issues.
If you can ensure that the code you written works on PHP5, then the guy is
only worth the money you think is right for compiling php5 for your current
distribution, (running a phpinfo() you get all the options that you need, you
may need to install the devel packages for the stuff you compile into php5 and
then more or less run "make && make install" and then restart the apache server).
Does anyone have any experience of moving from 4 to 5 and was it more
hassle than it was worth. What are the main issues we can expect?
As PHP4 has been discontinued for 7 months and 25 days, it's a good idea to
move ahead, so you won't one day sit there with a serious security bug that
won't be fixed, but you will have the same problem with the rest of the server
software (it could be compared with you running a microsoft server with
microsoft windows 3.11, how well supported do you think it is by microsft?)
--
//Aho