Hi, Guest ~ Login or Register

PHP 4

Posted in Website Programming » PHP - Friday 27th July 2007 at 1:29PM

Ed
Member

User Avatar

Joined July 2007
Posts: 14

Who here still runs PHP4 on their server?

[QUOTE] (Unsourced):


PHP 4 end of life announcement

The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.

__________________________________

 

Replies (13)

Replied - Friday 27th July 2007 at 2:38PM [Post Link]

Will
Administrator

User Avatar

Joined October 2005
Posts: 133

Not me, not anymore. I bought my VPS so I could move away from a PHP 4 server.. and to be honest it's an extra £10 a month but it's so worth it.

I think software developers should really start kicking the license holders' asses to get their software updated for PHP 5. I just hope adoption rates aren't as crap as IE6 -> IE7/Firefox...

__________________________________
Will Morgan
Freelance Web Developer
Next feature: How to fit 25 hours into a day!

 
Replied - Friday 27th July 2007 at 5:16PM [Post Link]

Brad
Member

User Avatar

Joined April 2007
Posts: 85

I'm currently on PHP 4... I want to get it upgraded.

__________________________________
Brad Purchase
Programmer, Designer, and Apple Tart.

 
Replied - Friday 27th July 2007 at 6:34PM [Post Link]

peacetwo
Member

User Avatar

Joined July 2007
Posts: 10

Well to be honest. I don't know how much difference this will make to me. Seeing as I no little to no PHP. Although I do run a freeware photoblog script which I hope isn't effected by this. Oh god I'm going to panic and end up remaking my site YET AGAIN!

__________________________________
Peacetwo

 
Replied - Friday 27th July 2007 at 6:50PM [Post Link]

Will
Administrator

User Avatar

Joined October 2005
Posts: 133

[QUOTE] peacetwo said (27th July @ 17:34pm):

Well to be honest. I don't know how much difference this will make to me. Seeing as I no little to no PHP. Although I do run a freeware photoblog script which I hope isn't effected by this. Oh god I'm going to panic and end up remaking my site YET AGAIN!



No need to panic really, since PHP5 mostly builds upon PHP4 and nothing is removed - so most PHP4 script builders can enjoy the fact that the guys at PHP have built PHP5 with backwards compatibility in mind. However, a few things are moved and rearranged, but none that I'm aware of will affect a simple photoblog script.

In fact, I've developed most of Limev2 to be portable between both PHP 4 and 5 - recently I moved it over to V5 and there were no problems whatsoever, so really there's nothing to worry about - just plenty to anticipate.

In all fairness the people whose scripts are breaking in version 5 environments have only themselves to blame for coding bad PHP. Even software like Modernbill has problems with version 5, which is one of the reasons why my shared hosting environment never got upgraded. Stuff like incorrect usage of referencing, heavy use on register_globals and ignorance of portability are mostly the reasons why stuff breaks.

__________________________________
Will Morgan
Freelance Web Developer
Next feature: How to fit 25 hours into a day!

 
Sponsored Link
Replied - Friday 27th July 2007 at 7:11PM [Post Link]

Brad
Member

User Avatar

Joined April 2007
Posts: 85

I'm really hoping none of my web applications will be faulty. x(

I think I'm going to request an upgrade, if that's possible.

__________________________________
Brad Purchase
Programmer, Designer, and Apple Tart.

 
Replied - Friday 27th July 2007 at 9:00PM [Post Link]

Ed
Member

User Avatar

Joined July 2007
Posts: 14

[QUOTE] Brad said (27th July @ 18:11pm):

I'm really hoping none of my web applications will be faulty. x(

I think I'm going to request an upgrade, if that's possible.



Definitely worth it, I can't get along with anything less.

__________________________________

 
Replied - Saturday 28th July 2007 at 1:10PM [Post Link]

peacetwo
Member

User Avatar

Joined July 2007
Posts: 10

Oh, that has put my mind at ease...

__________________________________
Peacetwo

 
Replied - Sunday 29th July 2007 at 7:28PM [Post Link]

itunes66
Member

User Avatar

Joined April 2007
Posts: 22

i set up a server the other day on my computer (wiped the disk and did a fresh install of OS X Server) it has php4 but i will upgrade it when i get a chance.

EDIT:
After a lot of trial and error (actually i was just being stupid) i got it upgraded.

__________________________________

 
Replied - Saturday 8th September 2007 at 4:03PM [Post Link]

Alex
Member

User Avatar

Joined July 2007
Posts: 31

My website runs on PHP4 but my local server runs on PHP5.
I don't really notice a difference, anyone know any new functions?

__________________________________
Aim2Break Records

 
Sponsored Link
Replied - Saturday 8th September 2007 at 4:21PM [Post Link]

Will
Administrator

User Avatar

Joined October 2005
Posts: 133

[QUOTE] Alex said (8th September @ 15:03pm):

My website runs on PHP4 but my local server runs on PHP5.
I don't really notice a difference, anyone know any new functions?

Loads. First of all let's see.. whole new OOP interface, better XML functions and so on.

__________________________________
Will Morgan
Freelance Web Developer
Next feature: How to fit 25 hours into a day!

 
Replied - Saturday 8th September 2007 at 8:40PM [Post Link]

bluestriker
Member

User Avatar

Joined April 2007
Posts: 18

I'm running PHP 5 on my localhost, and my host is still running PHP 4. I'm pretty sure you can request an upgrade though.

__________________________________
Ich bin in Deutsche Eins, und ich liebe jede Minute von es.

 
Replied - Saturday 8th September 2007 at 10:47PM [Post Link]

Brad
Member

User Avatar

Joined April 2007
Posts: 85

[QUOTE] bluestriker said (8th September @ 19:40pm):

I'm running PHP 5 on my localhost, and my host is still running PHP 4. I'm pretty sure you can request an upgrade though.



Good idea. The whole idea of a new OOP interface makes me fear I'll need to recode my current project now, as it's written in complete OOP.

I'll wait until the next recode, I guess.

__________________________________
Brad Purchase
Programmer, Designer, and Apple Tart.

 
Replied - Monday 21st April 2008 at 10:43AM [Post Link]

fedekun
Member

User Avatar

Joined April 2008
Posts: 5

Well, i certanly use PHP5, but i dont find using OOP in PHP very productive, i mean, you can get fair encapsultaion by including files, and well, at least you are making PHPBB4 you wont need much OOP if you are organized.
The other day i was working and i got to add some functions and fixes to a website which was pretty short but it used too much OOP, much more code than they needed, and it wasnt easy to read nor use but well...Thats why i prefer C to C++, hehe anyways, sometimes is useful, and its nice to use it. PHP5 has nice functions and as long as my old PHP4 files compile, i dont have any problem :]

__________________________________
~ Watashi wa, Eru da yo ne~