473,660 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Upgrade to 5

Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John
Jul 23 '08 #1
13 1876
On Jul 23, 4:37*pm, John <67vnue6o@knwfv wrote:
Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John
It all depends on what you are using it for. For instance I usually
use PHP, MYSQL and Apache and usually I find that there are certain
versions of PHP has problems with Certain versions of MYSQL (But
usually I always find some sort of tweak to solve it). There are also
issues with certain versins of apache. Some times it takes alot of
tweeking to find the most compatible versions that wiil suit your web
application.

So your web tecky might have a point (depending on what security
settings he has in place to make the server secure). These settings
may not work effectivly with the newer versions of PHP.

Jul 23 '08 #2
John wrote:
Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John
PHP4 has been discontinued and is no longer supported, so it is better
to work on moving than staying on PHP4. Your sys admin is going to
have to switch eventually.

The PHP manual has information on migrating from PHP4 to PHP5:
<URL:http://php.net/manual/en/migration5.php> . So far, I haven't had
any problems with my PHP4 scripts breaking on PHP5. It's really hard
to say how right your sys admin is, unless you can get some specifics
out of him. Maybe he has some really poorly coded scripts installed,
who knows.

--
Curtis (http://dyersweb.com)
Jul 23 '08 #3
..oO(John)
>Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.
The problems will arise with PHP 4 if you don't upgrade.

A simple upgrade alone isn't worth £500, but if your current system
requires a lot of modifications to run on PHP 5, then you might have to
spend some money. But it has to be done.
>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.

Does anyone have any experience of moving from 4 to 5 and was it more
hassle than it was worth.
Upgrading is a must! PHP 4 is dead, the support for it will finally end
in two weeks - there will be no more security fixes!
>What are the main issues we can expect?
Most scripts written for PHP 4 will run without any problems on PHP 5.
There are only small incompatibiliti es, which will mostly arise from
poorly written code (for example register_global s). But such things can
be considered bugs and should be fixed as soon as possible.

Micha
Jul 23 '08 #4
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
Jul 24 '08 #5
On Jul 23, 4:37 pm, John <67vnue6o@knwfv wrote:
Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John
If (and that's a big if) there is a significant amount of PHP code
running on the system that would require modification to work properly
under PHP 5 then there might be some justification for a one off fee
to fix or replace it (though on the whole code that doesn't work in
PHP 5 doesn't work because it's relying on features that have been
depreciated for a long time, such as $_HTTP_*_VARS and should probably
be fixed anyway for security reasons).

But the yearly charge? I can't see how he can possibly justify that,
once problems have been fixed they have a nasty habit of staying
fixed. Once the upgrade work has been done there's nothing in
particular you have to do with PHP 5 to keep it running that you
didn't have to do with PHP 4.
Jul 24 '08 #6
On Wed, 23 Jul 2008 16:37:09 +0100, John <67vnue6o@knwfv wrote:
>Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John
I just wanted to say thanks to everyone for some great info and
opinions. It was just what we needed.

We will be able to go back now with confidence to find out what is
going on.

--
John
Jul 24 '08 #7
John wrote:
Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John

A little late, but I've been having some system problems here.

That's ridiculous. He just doesn't want to spend the time to upgrade.
It doesn't cost any more to support PHP 5 than it did PHP4.

Now - there is a *slight* chance *some* of your scripts may need
modification. If so, that's fine - you should modify the scripts or pay
someone to do it.

But $500/yr extra to support PHP5 (especially when PHP4 is no longer
supported)? That's an immediate red flag. Dump the bum. You can get
(and deserve) better.

\
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 25 '08 #8
Jerry Stuckle wrote:
John wrote:
>Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John


A little late, but I've been having some system problems here.

That's ridiculous. He just doesn't want to spend the time to upgrade.
It doesn't cost any more to support PHP 5 than it did PHP4.
I believe the Linux installation is outdated and as there won't be any new
binary PHP packages from the distribution, he will have to compile it from
scratch and keep track of bugs in PHP to know when it's time to upgrade again,
at the same time he may need to upgrade other packages which he has to compile
from scratch to make PHP5 to compile... It's far better the OP would see to
getting the whole system updated to a recent version of Linux where he will
get PHP5 for free.

But $500/yr extra to support PHP5 (especially when PHP4 is no longer
supported)? That's an immediate red flag. Dump the bum. You can get
(and deserve) better.
I completely agree with you on that
--

//Aho
Jul 25 '08 #9
On Thu, 24 Jul 2008 21:55:36 -0400, Jerry Stuckle
<js*******@attg lobal.netwrote:
>John wrote:
>Our technical guy says that our linux server is running PHP 4. I
thought we were running 5 already.

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.

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.

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?

Thanks John


A little late, but I've been having some system problems here.

That's ridiculous. He just doesn't want to spend the time to upgrade.
It doesn't cost any more to support PHP 5 than it did PHP4.

Now - there is a *slight* chance *some* of your scripts may need
modification . If so, that's fine - you should modify the scripts or pay
someone to do it.

But $500/yr extra to support PHP5 (especially when PHP4 is no longer
supported)? That's an immediate red flag. Dump the bum. You can get
(and deserve) better.

\
Thanks Jerry

Jul 25 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1859
by: Tappy Tibbons | last post by:
Have many of you upgraded to VS 2003? We have been using Visual Studio 2002, and are somewhat satisfied, except for the following areas: Speed - VS2002 apps are dead dog slow to start up, and slow the first time a form loads. Has this been addressed? We have been all through the "fixes" that supposedly speed up things in 2002, but they do not work, and are hoping 2003 is better.
1
4590
by: cpchan | last post by:
If I want to upgrade the following system : (1) Oracle 8i RDBMS (2) Oracle Finance 11.5.2 to : (1) Oracle 9i RDBMS (2) Oracle Finance 11.5.8
8
2532
by: Patrick | last post by:
Hi I am in the process of learning javascript and was wondering how often the web professionals update I.E & N.N? I mean do you religiously wait for the next upgrade and download it ASAP when available or do you upgrade only between main version and don't worry about minor updates? I currently have I.E 6.0.2600 & N.N 6.2.3 Latest I.E. is 6.0 (SP1) Latest N.N. is 7.1
4
1981
by: Dave Harney | last post by:
Hi Newsgroup, I'm currently using VS Ver 7.0.9466 with an OS of Server 2000 (domain controller) Ver 5.0.2195 (Build 2195) SP4. I have MSDN Universal and would like to upgrade my development environment ot Server 2003 and VS 2003 Do I need to start from scratch, or will can I use Server 2003 as a simple upgrade to my existing OS?
3
501
by: Ryan Cowan | last post by:
I would like to upgrade from XP Home to Professional. However, I get the following error message: "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD". Ultimately, I want to upgrade so that I can install IIS for the purpose of developeing ASP.NET applications. Thanks in advance, Ryan
3
1919
by: John | last post by:
Hello, I am trying to figure out how to determine if I have fixed an upgrade warning. If I delete the green text then the upgrade warning goes away. However, I would expect it to come back after I rebuild if I haven't changed any of the code. Can anyone clarify what actions to take with the upgrade warnings? Thanks
36
2546
by: Tim | last post by:
Is there a way to upgrade from Visual C++ Net 2002 to Visual C++ Net 2003? The 2002 version does not provide a Windows Forms Designer. I can't find any upgrade package on Microsoft's website. Thanks, Tim
2
1475
by: Jerry Derringer | last post by:
Our company just upgraded to VS 2005 (and by the way, I love it!) I was able to migrate the code for our product from VS2003 to VS2005 with only a few snags, and it's working great now. However we are trying to come up with a non-intrusive way to allow our fairly large number of clients to be able to upgrade to the new .NET 2.0 version of our product. We have our own auto-upgrade code inside our product (it downloads updated dll's from...
6
1826
by: Ajith Menon | last post by:
I am working on a project "ABC" which needs to be upgraded from .NET framework 1.1. We are thinking about upgrading it to .NET framework 2.0. The reason for this is that we have some unmanaged modules (made in VC++) shared with other project "XYZ". The project "XYZ" is upgraded to .NET framework 2.0 from .NET framework 1.1. Now to have the compatibility, forcibly project ABC also have decided to upgrade to .NET 2.0. But I feel why not...
3
4140
by: Mark D Powell | last post by:
I attempted to upgrade my SQL Server 2000 Enterprise Edition (32 bit) to SQL Severer 2005 EE 32 bit and while the prereqs passed the installer will not let me select the version 8.00.x (2000 SP4) database that it finds on the server. When I ckeck the install details it tells me that "Your upgrade is blocked becuase of cluster upgrade rules" I have tried searching the MS site but none of the entries I found appear to apply.
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.