Results 1 to 10 of 10
Thread: PHP Update (5.3)
-
03-05-2012, 02:36 PM #1WHT Addict
- Join Date
- Oct 2011
- Posts
- 125
PHP Update (5.3)
Someone is already using the new version of php 5.3.x on your servers? They had many problems with incompatibilities?
Thank you
-
03-05-2012, 02:45 PM #2Web Hosting Master
- Join Date
- Jul 2009
- Location
- The backplane
- Posts
- 1,788
-
03-05-2012, 03:09 PM #3
If your code functions in 5.3, you shouldn't see too many issues in 5.4, looking at their changelog, with the exception of mysqli related functions.
If you skipped 5.3, you should upgrade to 5.3 first, make sure there's no issues there.Tom Whiting, WHMCS Guru extraordinaire
Linux problems? WHMCS Problems? Give me a shout
Check out my WHMCS Addons
-
03-05-2012, 03:53 PM #4Web Hosting Evangelist
- Join Date
- Aug 2007
- Location
- here
- Posts
- 480
we're using php 5.3 for a long time now, and everything has been smooth. no issues with scripts.
We live in a twilight world
-
03-06-2012, 06:57 AM #5Junior Guru Wannabe
- Join Date
- Mar 2011
- Posts
- 67
there is a few functions (ie. ereg(i)) that have been depreciated in 5.3, but they wont be removed untill 6.x, so for now its only notice/depreciated level errors.
-
03-06-2012, 07:02 AM #6Junior Guru
- Join Date
- May 2009
- Posts
- 175
With php 5.3 I had some customers issues with some old wordpress themes.
<<Please see rules for signature setup>>
-
03-06-2012, 08:21 AM #7
Not necessarily. 5.3 was pretty much what everyone expected 6 to be. Most of the 'deprecated' stuff was removed in 5.4 (from their changelog)
Removed legacy features
break/continue $var syntax.
Safe mode and all related ini options.
register_globals and register_long_arrays ini options.
import_request_variables().
allow_call_time_pass_reference.
define_syslog_variables ini option and its associated function.
highlight.bg ini option.
Session bug compatibility mode (session.bug_compat_42 and session.bug_compat_warn ini options).
session_is_registered(), session_register() and session_unregister() functions.
y2k_compliance ini option.
magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false, set_magic_quotes_runtime raises an E_CORE_ERROR.
Removed support for putenv("TZ=..") for setting the timezone.
Removed the timezone guessing algorithm in case the timezone isn't set with date.timezone or date_default_timezone_set(). Instead of a guessed timezone, "UTC" is now used instead.Tom Whiting, WHMCS Guru extraordinaire
Linux problems? WHMCS Problems? Give me a shout
Check out my WHMCS Addons
-
03-06-2012, 08:42 AM #8Junior Guru Wannabe
- Join Date
- Mar 2011
- Posts
- 67
Right, some stuff is removed in 5.4, but does not look like major functions are.
Ofcause magic quotes and register globals is going to give some trouble, but IMHO they should already be turned off on all new sites, the default for register globals have been off for a while now.
-
03-06-2012, 11:23 AM #9Web Hosting Master
- Join Date
- Apr 2002
- Posts
- 1,785
Good luck explaining that to a client that just HAS to have register_globals on. "Well, this script worked just fine with register_globals for the past 5 years!"
Really? The past 5 years? I'm sure it's being kept up to date and I'm sure there are no security vulnerabilities in it.
-
03-06-2012, 12:39 PM #10
That's where PLENTY of warning comes into play.
When I move servers from 5.2.x to 5.3, I make it very clear that things will break, and give 3-6 month's warning, that way there's no way they can claim "I didn't know". Well they can claim it, but It won't wash
I'll probably do the same with 5.4, even though I doubt there'll be much of a problem since 5.3 pretty much took out the crap that is gone for good in 5.4Tom Whiting, WHMCS Guru extraordinaire
Linux problems? WHMCS Problems? Give me a shout
Check out my WHMCS Addons
Similar Threads
-
php not updating after php update on centos
By tpirate5 in forum Hosting Security and TechnologyReplies: 18Last Post: 09-11-2012, 07:06 PM -
Update php and website showing php code :/
By sg552 in forum Hosting Security and TechnologyReplies: 9Last Post: 04-10-2009, 01:09 PM -
PHP Update
By jestin in forum Dedicated ServerReplies: 4Last Post: 11-26-2007, 03:39 AM -
How to update php
By nibb in forum Hosting Security and TechnologyReplies: 3Last Post: 10-27-2006, 01:34 PM -
Update PHP or keep it the same?
By myusername in forum Hosting Security and TechnologyReplies: 11Last Post: 02-25-2003, 06:52 AM