PHP 5.3.x vs 5.4.x

Permalink 1 user found helpful
PHP 5.3.16 was just released, so I'm going to have to update our server soon. However, I'm trying to decide whether it's best to jump up to 5.4.6 or stay at the 5.3 level for now.

Does anyone have feedback in general about Pros / Cons of making the jump, or feedback on C5 in particular in 5.4.x?

Thanks!

StriderSEO
 
Remo replied on at Permalink Reply
Remo
my DEV machines run 5.4 but honestly, I haven't noticed anything so far. I just like the built-in webserver which ships with 5.4 but that's about it.. 5.4 is supposed to be a bit faster but I haven't been able to notice any difference there either.
ScottC replied on at Permalink Reply
ScottC
It depends. If you are writing add-ons or things for general consumption in the marketplace you need to be running something under 5.3, or at least targeting <5.3 with your code.

Otherwise I would recommend running whatever your web servers are running. Personally I'd like to be running some sort of virtual machine that I can just copy around to whichever computer I am currently working from, but I haven't quite got there yet. I don't switch often enough to have it be a real concern... but it seems to be leaning that way :).

-Scott
gocabraless replied on at Permalink Reply
gocabraless
Don´t do it!, concrete5 is stable with 5.3, has a lot of
troubles with the new version. I have 9 servers and a least
110 concrete installations, and after a few hours I receive
a lot of errors from concrete users.
gocabraless replied on at Permalink Reply
gocabraless
Ok, concrete5 5.5.2.1 with php 5.4.6 has troubles with the
PHP Strict Standards: Non-static methods.
Korvin replied on at Permalink Reply
Korvin
I only run Php 5.4.4, the only errors i encountered were those strict notices. I'm fairly certain that the code was ugraded prior to 5.5.2.1.

If you are getting other errors, please report them, as I have seen none.
Remo replied on at Permalink Reply
Remo
5.4 works fine as long as you don't print all the warnings and notices to the browser. Set display_errors to off and it should work fine!
gocabraless replied on at Permalink Reply
gocabraless
Hi Remo, thanks a lot for your observation. After check the php.ini
configuration I found display_errors = off. So, I wish to give the
actual scenario with current configuration of all the parts:
apache 2.2.22, a lot of concrete5 5.4.2.2, php 5.3.16. In this
scenario the only one variable changed was the php version to
php 5.4.6, compiled, installed and try to see the old concrete5
and obtain only a large list of errors. At the control panel I
already check the system-settings->environment->debug level->Hide
errors from visitors, and at register unchecked register aplication
exceptions.
Remo replied on at Permalink Reply
Remo
could you attach a copy of the error messages to this discussion?
gocabraless replied on at Permalink Reply
gocabraless
Hi Remo, Ok, it gona take some time but, I´ll post.
GregJoyce replied on at Permalink Reply
GregJoyce
yeah my dev box is on php 5.4.4 and I have not had any issues. I am generally using 5.5.2.1 and git version of the core. Can't speak to if I would jump on upgrading a bunch of servers to the latest PHP since I am not running any of the older versions.