Moving the PHP requirement for Habari to 5.4

58 views
Skip to first unread message

Owen Winkler

unread,
May 18, 2012, 8:42:19 AM5/18/12
to habar...@googlegroups.com
Assume we're doing it tomorrow.

Complain in the thread below.

Owen

Sean Coates

unread,
May 18, 2012, 8:44:56 AM5/18/12
to habar...@googlegroups.com
> Assume we're doing it tomorrow.
>
> Complain in the thread below.

I'm normally a proponent of using the newest stable PHP version, but I'll be honest: I haven't upgraded my stuff beyond 5.3.x yet.

I'm aware of some of the *features* in 5.4, but what would you say about 5.4 that benefits Habari, directly?

S

Scott Merrill

unread,
May 18, 2012, 8:45:44 AM5/18/12
to habar...@googlegroups.com
A Small Orange:
skippy@marrs [~]# php -v
PHP 5.2.17 (cli) (built: May 14 2012 10:55:43)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator,
by eAccelerator
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by
ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

Complain complain complain grumble gripe grouch.
> --
> To post to this group, send email to habar...@googlegroups.com
> To unsubscribe from this group, send email to
> habari-dev-...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/habari-dev

Owen Winkler

unread,
May 18, 2012, 8:49:38 AM5/18/12
to habar...@googlegroups.com
On 5/18/2012 8:44 AM, Sean Coates wrote:
>
> I'm aware of some of the *features* in 5.4, but what would you say about 5.4 that benefits Habari, directly?
>

Just yesterday, I had a calling for using PHP 5.4's JsonSerializable
interface for converting Post objects into JSON. This makes using
Habari to provide JSON-based services much easier.

There have also been things in the past that could have been implemented
better with Traits. There are bits where it would be useful for plugins
and for the way content negotiation (from a Habari type, not HTTP, point
of view) works.

These things could be integrated immediately, and are being held back by
PHP version requirements.

Owen



Morgante

unread,
May 18, 2012, 8:53:01 AM5/18/12
to habari-dev
I'd also toss in that I'm not in favor of this change, since only PHP
5.3.x is currently supported by Dreamhost (my host, and a pretty
popular one).

Are you sure the new features, while intriguing, are worth keeping
Habari from running on many hosts?

Morgante Pell

unread,
May 18, 2012, 8:49:19 AM5/18/12
to habar...@googlegroups.com
Dreamhost also doesn't support beyond PHP 5.3.x, which is my host and a pretty popular one.

Do you think the features of 5.4 over 5.3 justify this added inconvenience?

Chris Meller

unread,
May 18, 2012, 8:58:35 AM5/18/12
to habar...@googlegroups.com
I'm against 5.4 as well. Among the myriad servers I have, 5.3 is still all that's easily available.

I'd be fine with upping our requirements to something like 5.3.3, there have been a lot of useful things in minor releases of 5.3, but I'm not ready to go to 5.4.

Owen Winkler

unread,
May 18, 2012, 8:59:11 AM5/18/12
to habar...@googlegroups.com
On 5/18/2012 8:53 AM, Morgante wrote:
> I'd also toss in that I'm not in favor of this change, since only PHP
> 5.3.x is currently supported by Dreamhost (my host, and a pretty
> popular one).

Ubiquity of host support for the PHP version has never been a
consideration for Habari development.

Owen

Randy Walker

unread,
May 18, 2012, 9:06:35 AM5/18/12
to habar...@googlegroups.com
So, if habari doesn't work with popular web hosts, who would use it?

--
Randy

Christopher Davis

unread,
May 18, 2012, 9:58:07 AM5/18/12
to habar...@googlegroups.com
This is an interesting moment in our history.

I am in favor of moving our requirements for two reasons:

  1. I am my webhost, so he runs whatever version of PHP I tell him... er me.
  2. When we started this thing, one of our stated goals was to use the cutting edge of everything, and push the envelope.

I realize not everyone has the time, expertise or desire to run their own server, so point number one isn't that great, but point #2 bears some consideration. Are we still that project? That is still how I describe us to people who ask, that is who I would like us to continue to be, but this isn't my decision.

We need to decide if habari has moved into a new phase of its life, or if we still should stick to our guns and push whatever new, compelling thing that has been introduced to our chosen toolkit. As Owen pointed out, when we began this adventure most hosts didn't have PHP5, and we still forged ahead building features no one else had. In some sense we helped lead the way.

So, what say you habari people?

On May 18, 2012, at 8:16 AM, Owen Winkler <epi...@gmail.com> wrote:

On 5/18/2012 9:06 AM, Randy Walker wrote:
So, if habari doesn't work with popular web hosts, who would use it?


Probably the same people that used it when Habari required 5.2, and no hosts had 5 installed.

Bryce Campbell

unread,
May 18, 2012, 3:57:36 PM5/18/12
to habar...@googlegroups.com

Another problem is that OS may not have the newest available PHP to install, so unless they compile from source or use back port repos, upgrades would be difficult, especially since not everyone has root access on the server (unless they self-host like myself and others here). To upgrade my laptop's, I have to use macports, which did not have 5.4 (should probably check again, so I don't need to upgrade the server OS, as I need to start Apache via cron in Lion), when I last checked. I tried making a squeeze remaster, but it only works in a VM, and sadly did not check PHP version included.

Petr Stuchlík

unread,
May 21, 2012, 1:24:08 AM5/21/12
to habar...@googlegroups.com
I'm also against 5.4 at the momment - let's take it one step at the time...

Petr

Dne 18.5.2012 14:58, Chris Meller napsal(a):

John Edmondson

unread,
May 18, 2012, 9:14:12 AM5/18/12
to habar...@googlegroups.com
My host is also Dreamhost -  whilst i agree that the features in 5.4 would be easier is it worth alinenating those of us who are on shared hosting?
--
==========About============
www.john.edmondson-uk.com
skype is john.j.edmondson
========================
Reply all
Reply to author
Forward
0 new messages