News for hackers. Stuff that matters.
Re:PHP 5.5.0 Alpha 6 - Released by jcoby on Friday March 08, 2013 @09:52AM (#5343698)
Personally, I always wait at least one year before upgrading PHP. There are always segfault or security issues or odd problems in a 5.x.0 release. It's around 5.x.4 that it becomes just stable enough to use.

About a month or two before I decide to upgrade I run the newer version locally while I'm developing (but being sure to not use any newer features). This usually weeds out any major incompatibilities and fix new warnings.

That said, I'm running 5.3 in production and have no real plans to upgrade to 5.4 anytime soon.

Re:PHP 5.5.0 Alpha 6 - Released by lonnyk on Friday March 08, 2013 @10:06AM (#5343777)
>That said, I'm running 5.3 in production and have no real plans to upgrade to 5.4 anytime soon.

May I ask: why not?

Re:PHP 5.5.0 Alpha 6 - Released by jcoby on Friday March 08, 2013 @10:17AM (#5343836)
There is no real compelling reason for me to upgrade. The short array syntax is nice but it's not worth spending a day or more interrupting everyone's dev environments and building packages and introducing (potential) instability into something that I live off of.
Re:PHP 5.5.0 Alpha 6 - Released by ihsw on Friday March 08, 2013 @01:33PM (#5344920)
CPU usage and memory consumption are cut by a third at worst and cut in half at best, personally I find that to be pretty compelling. It's a minor performance improvement but it's basically free.
Re:PHP 5.5.0 Alpha 6 - Released by yogo on Friday March 08, 2013 @12:55PM (#5344740)
You build the packages yourself? Is there a special reason why you need to do this?
Re:PHP 5.5.0 Alpha 6 - Released by jcoby on Friday March 08, 2013 @01:41PM (#5344950)
Consistency. I use the system packages right now and Ubuntu does some tricks with the config that I'm used to.
Re:PHP 5.5.0 Alpha 6 - Released by brokenparser on Friday March 08, 2013 @02:56PM (#5345376)
Can you be more specific?

If you want to see the patches go into the Debian/Ubuntu packages, run apt-get source php5 and look at the php5-$version/debian/patches directory. The build process uses a quilt wrapper (dh_quilt_patch) to apply them in the correct order. There are patches for building (in general or for a specific architecture), segmentation faults, security issues, manual pages and very few configuration changes (mostly just FHS compliance).

Re:PHP 5.5.0 Alpha 6 - Released by jcoby on Friday March 08, 2013 @05:20PM (#5346118)
That's pretty much exactly what I try to do. I grab the sources for the package and upgrade the underlying php version. I usually have to grab the PHP sources from a newer version of Ubuntu and modify it until it builds.
Re:PHP 5.5.0 Alpha 6 - Released by brokenparser on Saturday March 09, 2013 @05:19AM (#5348009)
I've BTDT and it's tedious at times. Try this PPA: https://launchpad.net/~ondrej/+archive/php5

Fedora users have it easy, the packages there are mere days behind: https://admin.fedoraproject.org/updates/php

With a bit of experimenting you can easily do a network install of a headless Fedora/SL/CentOS in KVM using virt-install and a kickstart file. Use filesystem passthrough to access your source files, run php-fpm and configure its address as a backend in your web server. Keep SELinux enabled, but adjust it to your needs using setsebool if necessary.

Re:PHP 5.5.0 Alpha 6 - Released by jcoby on Sunday March 10, 2013 @07:56PM (#5354149)
That first link looks like exactly what I need, thank you!

I've tried Fedora in the past. I found it unstable and broken and I don't like RPM very much. It's undoubtedly improved since I last tried it (c. 2005-2006) but I don't miss RPM at all.

Re:PHP 5.5.0 Alpha 6 - Released by brokenparser on Monday March 11, 2013 @01:56AM (#5355143)
RPM is fine, I'm more worried about Journald, Systemd and the like. The programs they replace are much more elegant and simple by design.
Re:PHP 5.5.0 Alpha 6 - Released by Joeri on Friday March 08, 2013 @02:32PM (#5345243)
Also on 5.3. I'm encoding my php files with zend guard, and they don't support php 5.4 yet, which is ironic given that it's zend.