|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
After 2007-12-31 there will be no more releases of PHP 4.4 [13-Jul-2007]
Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.
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. PHP Snapshots - Get PHP 6.0 Dev
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
We've been talking about this over at ubbdev; i'm glad they're finally dropping support for it, considering PHP5 is out and stable, and php6 is on its way, it's pointless to continue to support 4 ... You should check out the GoPHP5 Initiative
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Well haven't looking into it on Linux but on Windows you can run all 3 versions if you want at the same time and each Website can choose which one they want to run.
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
You can configure it to run multiple versions, in fact I did some research for a collegue on how to do it last year...
Myself, I find it overkill... Want to know why PHP4 scripts commonly don't run in PHP5? They where coded assuming that register_globals is "on", whereby they're set "off" by default in php5 and removed completely in php6 due to potential security issues.
How easy is it to fix? it's trivial, if you're reading a post or get variable, you need to define the variable vs assuming it's always there... Takes all of a couple of minutes to update...
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
So in php5
Registered Globals should be "off"
Any others ?
Just checking as i never got around to this lol.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Yes - by default the supplied ini for PHP5 is setup for Best Practice but some things need to be changed in order for it to work on your system.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
First thing i do in the ini is change the maximum memory from 8M to 16M. can't remember what setting that is though but i do it!! ps: 'memory_limit'
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
isnt magic_quotes another one ? I have x2 magic_quotes off but this one is still on magic_quotes_gpc ON register_globals ON will test with me Globals first as there may be a few forms broken but i'm sure i wrote them for php5 magic_quotes_gpc ON Its there a php5 safe list anywhere as out the box its not the best setup, sorry i'm hijacking NT topic
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Not sure if there is any such thing as a best, safe list. So many different setups that it's hard to just provide a "best setup" There are a ton of sites out there and discussion groups all about PHP - they eat/live/breath it. Not my cup of tea to discuss it daily, just enough to use it okay is enough for me
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
It's based on user needs... I just use the base config and tweak it slightly (max memory, max post, etc)
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
can't use PHP5 yet - one of my important scripts is still PHP4, or at least the component we use in the UK, is not working properly on the PHP5 version - if that make sense LOL
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Well, a key thing to remember is that you can run BOTH on the same machine, side by side...
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Well you should investigate updating that script if possible. Aside from security benefits - most sites claim that PHP 5.x is much faster than 4.x
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
The software is Modernbill and as far as I can assertain, the Nominet part (Nominet are the body to whom we belong that look after UK domains) does not run properly on PHP5.
Gizmo - I did enquire about that, but under Plesk (Linux), I think it is one or the other. The windows version I think allows for both.
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Ian, you could have someone install it for you, and specify you want them to coexist, then you could set the default through .htaccess for each site... heck, you can do this on a directory by directory basis... But is probably too much for your cpanel to configure them both along side eachother automagically...
|
|
|
1 members (Havenofsobriety),
458
guests, and
91
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|