473,566 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php4 end of life

How long will PHP4 be supported ? When is PHP4 end of life scheduled ?

DG

Feb 17 '07 #1
12 2284
Drazen Gemic schrieb:
How long will PHP4 be supported ? When is PHP4 end of life scheduled ?
Two answers:

1. As of yet no official end of life for PHP4 has been announced. For
the time being security fixes will be released for PHP4 as well as PHP5.
This is due to the widespread use of PHP4 installations.

2. PHP4 has already reached its end of life because no new features will
be available for the PHP4 branch. PHP5 is out already two and a half
years and it is recommended that ALL developers switch to PHP5.

And remember: It's a myth that PHP5 is incompatible to PHP4. There a far
more compatibility issues between 4.3 and 4.4 than between 4.4 and the
5.x versions.
OLLi
Feb 18 '07 #2
Two answers:
And remember: It's a myth that PHP5 is incompatible to PHP4. There a far
more compatibility issues between 4.3 and 4.4 than between 4.4 and the
5.x versions.
I don't agree. If $a and $b are arrays or objects, then
$a=$b; produces different results in PHP5 and PHP4 respectively.

DG

Feb 18 '07 #3
Rik
On Sun, 18 Feb 2007 17:10:03 +0100, Drazen Gemic <tr*******@yaho o.com
wrote:
>Two answers:
And remember: It's a myth that PHP5 is incompatible to PHP4. There a far
more compatibility issues between 4.3 and 4.4 than between 4.4 and the
5.x versions.

I don't agree. If $a and $b are arrays or objects, then
$a=$b; produces different results in PHP5 and PHP4 respectively.
Arrays the same, objects are by default passed by reference indeed.
--
Rik Wasmus
Feb 18 '07 #4
Drazen Gemic kirjoitti:
>Two answers:
And remember: It's a myth that PHP5 is incompatible to PHP4. There a far
more compatibility issues between 4.3 and 4.4 than between 4.4 and the
5.x versions.

I don't agree. If $a and $b are arrays or objects, then
$a=$b; produces different results in PHP5 and PHP4 respectively.
Oliver didn't claim that there are *no* incompatibility issues between 4
and 5 because there are and everybody knows that. All he meant was that
there are *less* of them between 4 and 5 than between 4.3 and 4.4.

--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
sp**@outolempi. net | Gedoon-S @ IRCnet | rot13(xv***@bhg byrzcv.arg)
Feb 18 '07 #5
On Feb 18, 6:01 pm, Kimmo Laine <s...@outolempi .netwrote:
Oliver didn't claim that there are *no* incompatibility issues between 4
and 5 because there are and everybody knows that. All he meant was that
there are *less* of them between 4 and 5 than between 4.3 and 4.4.
Well, he also said that incompatibility is a myth. But, that was
not the question, anyway. Since we are chatting, I'll reveal why I am
asking it. It is a strange story, indeed.

I have a customer that refuses to upgrade application in a way that it
could
handle past years. They are cloning the database and the application
code and
use it as archive. Database name, username and password are defined in
a single
file, which makes that easy. To make things worse, archived versions
are mutually similar,
but not identical. They probably think that the solution is
cheap......

What am I trying to explain them is that they will have to upgrade
someday,
and I am not willing to upgrade unknown number of versions.

DG

Feb 18 '07 #6
Drazen Gemic wrote:
On Feb 18, 6:01 pm, Kimmo Laine <s...@outolempi .netwrote:
>Oliver didn't claim that there are *no* incompatibility issues between 4
and 5 because there are and everybody knows that. All he meant was that
there are *less* of them between 4 and 5 than between 4.3 and 4.4.

Well, he also said that incompatibility is a myth. But, that was
not the question, anyway. Since we are chatting, I'll reveal why I am
asking it. It is a strange story, indeed.

I have a customer that refuses to upgrade application in a way that it
could
handle past years. They are cloning the database and the application
code and
use it as archive. Database name, username and password are defined in
a single
file, which makes that easy. To make things worse, archived versions
are mutually similar,
but not identical. They probably think that the solution is
cheap......

What am I trying to explain them is that they will have to upgrade
someday,
and I am not willing to upgrade unknown number of versions.

DG
People who refuse to update are PITA's. The good thing is eventually
they will suffer from their stubbornness and stupidity. The bad thing is
often consultants get taken down with it.

The secret of being a successful is to make your recommendations - then
distance your self from their stupidity/stubbornness. And when they
suffer because of their decisions, you can become the hero by bailing
them out.

But trying to argue with them because of their stupidity/stubbornness is
a losing proposition from the start.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Feb 19 '07 #7
But trying to argue with them because of their stupidity/stubbornness is
a losing proposition from the start.
I agree, no use trying to argue. I am going to offer them a creation
of spreadsheet
(Excel) document with the most important data. They will probably be
fine with that,
and probably willing to pay for it.

DG

Feb 19 '07 #8
Kimmo Laine schrieb:
Oliver didn't claim that there are *no* incompatibility issues between 4
and 5 because there are and everybody knows that. All he meant was that
there are *less* of them between 4 and 5 than between 4.3 and 4.4.
Exactly. The biggest chance in PHP regarding compatibility issues was
the bug fix that caused the "only variables can be passed by reference"
error messages. And this fix was deployed on PHP4 (4.4.0 I think) as
well as PHP5 (5.0.5 I think), causing a huge amount of applications to
break. People started to shout at the PHP devs to revert this change
because they didn't want to hear that this was the fix of a nasty bug
causing memory leaks AND they didn't realize that the previous
implementation could cause their applications to produce unexpected
results anytime.

In fact, getting your application past this problem i usually more work
than making it compatible with PHP5 afterwards. If you upgraded to 5.0.0
from 4.3.x than the same work arises when upgrading to 5.0.5 inside PHP5
but this problems are NOT PHP5 SPECIFIC.

As for the change from passing references instead of copies when
assigning objects: This is almost never a problem because if your
application used & to create references then this code works without
changes (with suboptimal speed but it works). Only if you ABSOLUTELY
depend on the two being independent instances after the assignment then
you run into problems.

OLLi
Feb 20 '07 #9
Drazen Gemic schrieb:
How long will PHP4 be supported ? When is PHP4 end of life scheduled ?
As a "barometer" of things to come you can use the nexen.net statistics
about the adoption of the different PHP versions:

http://www.nexen.net/chiffres_cles/phpversion/

You can see two things (Jan 2007):

1. PHP4 is still available on 85% of the
servers where PHP5 only reaches 14%.

2. PHP4 is declining, PHP5 is rising,
and both speeds are increasing.

Another point could be the figures for the downloads of the different
versions on the php.net mirrors. I don't know a source for them but the
PHP devs might think of an end-of-life for PHP4 when the count for PHP4
downloads per month sinks below a certain level.

OLLi
Feb 20 '07 #10

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

Similar topics

0
2452
by: Nisha_tm | last post by:
Hello: I have a form in which I have checkboxes. Right now, I wrote the form's html and the php4 script. I use associative arrays in the form to capture the checkboxes that are checked. My html form puts the data in $info if the check box is checked. Part of my php4 script is as follows:
0
2037
by: Klaus Boehmer | last post by:
Hello, I'm trying to install gd2 with gif-support as an extension with php4. I compiled the patched version of gd2 - fine. I compiled php4 with gd=shared - fine. I installed it and restarted apache and I get: undefined symbol: gdImagePngCtx I recompiled php4 and included gd and everything works fine. But as soon as I compile gd2 as shared...
1
2082
by: Erik | last post by:
I understand, that PHP4 has a MySQL client built in. I was warned, that this client does not support the MySQL 4.1.1 system, which I installed on my RH9 box end that I need to install that version myself in PHP4. Now how do I install that MySQL client in my PHP4 ? Or is is easier/smarter to use another MySQL version, one that IS...
5
2778
by: Tim Tyler | last post by:
I'm sure this is a FAQ - but I could not find a coherent statement of the answer: Some of my clients want PHP4. Other ones want PHP5. Can I run both PHP4 and PHP5 under the same instance of Apache - both on port 80 - using different file extensions to distinguish between them? --
0
2002
by: Dave Pham | last post by:
I just cleaned my comp, and I am trying to re-config my webserver... I am trying to setup apache 2 so it runs both php4 and php5, I also have two instances of mysql running. I know this can be done cos it had work before, but after this incident its not longer... These are my directories for each: Apache: D:\ServerRoot\Apache\Apache2...
2
2579
by: Stefan Huber | last post by:
Hi I've got a really strange problem, and can't find out why it's not working as intended. in order to use php4 and 5 together on a webserver and the requirement for running as different users, I use suexec and a wrapper script for php files. to make it a bit clearer, i'll post the different snippets: httpd.conf:
3
2938
by: doctorhardik | last post by:
hai all i am try configure php4.3.9 on my FC-3 machine. and my mysql database version 5.0.1, in phpinfo file it show mysql but when i run php -v command it show error like
8
2302
by: FFMG | last post by:
Hi, I am slowly moving my code to php5. But I would like to make it backward compatible in case something bad happens, (and to make sure I understand what the changes are). The way the constructors work seem to have changed quite a bit and I am not getting the same behavior across the versions. // Some simple code/
3
2324
by: vmethod82 | last post by:
I have a couple accounts through godaddy.com and they can't tech support it because it's a custom script. But on one account (i'm assuming its running php4) the script works fine, on the other account (running php5) it doesn't work hardly at all. What happens, is the information is emailed successfully, however, the information that the browser...
0
7584
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...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
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...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
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
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.