Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-24 Thread Jeremy Coates

Graham Anderson wrote:
The significant problems we have is our clients who want to run 5.0.x 
( Red Hat / centOS mainly ), I've no idea what the latest version 
available for those platforms is but I can tell you from first hand 
experience that trying to work around the lack of countable interface 
in 5.0.x is a non starter.

There are good binaries available for 5.1.6 on CentOS (see centosplus repo).

Cheers,
Jeremy




Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-16 Thread Graham Anderson

Nico Edtinger wrote:

[15.05.2007 22:59] Matthew Weier O'Phinney wrote:
Well, one thing offerred in 5.1.4 not in 5.1.2 is the Countable 
interface.


According to http://php.net/ChangeLog-5.php#5.1.0 and 
http://www.php.net/~helly/php/ext/spl/interfaceCountable.html it was 
added in 5.1.0.


nico

We currenly test against 5.1.2, 5.1.6 and 5.2.x while the current 
release works just fine against 5.1.2 ( and countable is available in 
SPL in 5.1.2 ) though there are obvious reasons for not using it.


The significant problems we have is our clients who want to run 5.0.x ( 
Red Hat / centOS mainly ), I've no idea what the latest version 
available for those platforms is but I can tell you from first hand 
experience that trying to work around the lack of countable interface in 
5.0.x is a non starter.


Cheers
G



Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-16 Thread Nico Edtinger

[15.05.2007 22:59] Matthew Weier O'Phinney wrote:
Well, one thing offerred in 5.1.4 not in 5.1.2 is the Countable  
interface.


According to http://php.net/ChangeLog-5.php#5.1.0 and http:// 
www.php.net/~helly/php/ext/spl/interfaceCountable.html it was added  
in 5.1.0.


nico


Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-15 Thread Matthew Weier O'Phinney
-- Nico Edtinger <[EMAIL PROTECTED]> wrote
(on Wednesday, 16 May 2007, 12:38 AM +0200):
> [15.05.2007 22:59] Matthew Weier O'Phinney wrote:
> >Well, one thing offerred in 5.1.4 not in 5.1.2 is the Countable  
> >interface.
> 
> According to http://php.net/ChangeLog-5.php#5.1.0 and http:// 
> www.php.net/~helly/php/ext/spl/interfaceCountable.html it was added  
> in 5.1.0.

Yep -- I had that wrong. However, there were other SPL interfaces we're
using that were unavailable or critically buggy (there were bugs fixed
for 5.1.3 in Countable) until 5.1.4. Probably the biggest reason for the
move to 5.1.4, however, was that PHPUnit 3 required it, and we
standardized on that version.

-- 
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-15 Thread Lawrence Leach
Thanks guys for such quick turnaround. You have helped me out  
enormously. I got the answers I needed.


Cheers,

L.

On May 15, 2007, at 1:59 PM, Matthew Weier O'Phinney wrote:


-- Lawrence Leach <[EMAIL PROTECTED]> wrote
(on Tuesday, 15 May 2007, 01:37 PM -0700):
I'm hoping someone here on the mailing list can help me out. We  
are trying to
get the latest version of the Zend Framework (0.9.3) installed on  
an Ubuntu
server running the Plesk Control Panel system. The framework  
documentation
states that PHP 5.1.4 is required. We have 5.1.2 installed. My  
question is what
has the potential to break if we attempt to run it under v5.1.2 of  
PHP? I
realize this goes against the system requirements but we need to  
know if we
would simply lose some functionality that we would never use  
anyway or if we

stand to lose much greater functionality.

Just FYI, if we upgrade PHP to 5.1.4 or 5.2.2 we run the potential  
of breaking
Plesk. (Not an option.) We had to jump through a bunch of hoops to  
get Plesk to
update to PHP5 in the first place. Any help or direction that  
anyone can

provide would be much appreciated.


Well, one thing offerred in 5.1.4 not in 5.1.2 is the Countable
interface. If that were missing, the following classes couldn't be  
used:


Zend/Mail/Storage/Abstract.php
Zend/Service/Delicious/PostList.php
Zend/Pdf/PhpArray.php
Zend/Controller/Action/Helper/FlashMessenger.php
Zend/Db/Table/Rowset/Abstract.php
Zend/Config.php
Zend/Memory/Value.php

Notice that some of these are abstract classes -- meaning there are
other classes that inherit from them that would be affected.

--
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


Lawrence Leach
[EMAIL PROTECTED]
--
Less == More, More || Less




Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-15 Thread Matthew Weier O'Phinney
-- Lawrence Leach <[EMAIL PROTECTED]> wrote
(on Tuesday, 15 May 2007, 01:37 PM -0700):
> I'm hoping someone here on the mailing list can help me out. We are trying to
> get the latest version of the Zend Framework (0.9.3) installed on an Ubuntu
> server running the Plesk Control Panel system. The framework documentation
> states that PHP 5.1.4 is required. We have 5.1.2 installed. My question is 
> what
> has the potential to break if we attempt to run it under v5.1.2 of PHP? I
> realize this goes against the system requirements but we need to know if we
> would simply lose some functionality that we would never use anyway or if we
> stand to lose much greater functionality.
> 
> Just FYI, if we upgrade PHP to 5.1.4 or 5.2.2 we run the potential of breaking
> Plesk. (Not an option.) We had to jump through a bunch of hoops to get Plesk 
> to
> update to PHP5 in the first place. Any help or direction that anyone can
> provide would be much appreciated.

Well, one thing offerred in 5.1.4 not in 5.1.2 is the Countable
interface. If that were missing, the following classes couldn't be used:

Zend/Mail/Storage/Abstract.php
Zend/Service/Delicious/PostList.php
Zend/Pdf/PhpArray.php
Zend/Controller/Action/Helper/FlashMessenger.php
Zend/Db/Table/Rowset/Abstract.php
Zend/Config.php
Zend/Memory/Value.php

Notice that some of these are abstract classes -- meaning there are
other classes that inherit from them that would be affected.

-- 
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-15 Thread Ralph Schindler
FYI, I am using PHP 5.2.1 and 5.2.2 with Plesk and it works fine.  As 
long as you are using the Plesk 8.* series, it doesnt matter which PHP 
you install b/c plesk is running on its own php binary anyway.  You can 
see that in the /usr/local/psa/admin/bin directory.


I would advise going towards 5.2.2 personally.  For me, the make or 
break functionality was when they decided that __get and __set needed to 
return references by default, and implemented it in a way that broke 
usage from the 5.1.* series to the 5.2.* series.


Matthew has a reference here:
http://weierophinney.net/matthew/archives/131-Overloading-arrays-in-PHP-5.2.0.html

And seeing as though you are using php5 for its OOness, you should take 
that into consideration.


Hope that helps,
Ralph

Lawrence Leach wrote:

Hi there,

I'm hoping someone here on the mailing list can help me out. We are 
trying to get the latest version of the Zend Framework (0.9.3) installed 
on an Ubuntu server running the Plesk Control Panel system. The 
framework documentation states that PHP 5.1.4 is required. We have 5.1.2 
installed. My question is what has the potential to break if we attempt 
to run it under v5.1.2 of PHP? I realize this goes against the system 
requirements but we need to know if we would simply lose some 
functionality that we would never use anyway or if we stand to lose much 
greater functionality.


Just FYI, if we upgrade PHP to 5.1.4 or 5.2.2 we run the potential of 
breaking Plesk. (Not an option.) We had to jump through a bunch of hoops 
to get Plesk to update to PHP5 in the first place. Any help or direction 
that anyone can provide would be much appreciated.


Thank you!

L.

Lawrence Leach
[EMAIL PROTECTED] 
--
Less == More, More || Less






[fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-15 Thread Lawrence Leach

Hi there,

I'm hoping someone here on the mailing list can help me out. We are  
trying to get the latest version of the Zend Framework (0.9.3)  
installed on an Ubuntu server running the Plesk Control Panel system.  
The framework documentation states that PHP 5.1.4 is required. We  
have 5.1.2 installed. My question is what has the potential to break  
if we attempt to run it under v5.1.2 of PHP? I realize this goes  
against the system requirements but we need to know if we would  
simply lose some functionality that we would never use anyway or if  
we stand to lose much greater functionality.


Just FYI, if we upgrade PHP to 5.1.4 or 5.2.2 we run the potential of  
breaking Plesk. (Not an option.) We had to jump through a bunch of  
hoops to get Plesk to update to PHP5 in the first place. Any help or  
direction that anyone can provide would be much appreciated.


Thank you!

L.

Lawrence Leach
[EMAIL PROTECTED]
--
Less == More, More || Less