Re: PEAR::DB breaking with PHP 5 beta2 - was RE: PHP5 and PEAR

From: Date: Sat, 22 Nov 2003 01:20:11 +0000
Subject: Re: PEAR::DB breaking with PHP 5 beta2 - was RE: PHP5 and PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23807@lists.php.net to get a copy of this message
Most of the packages should work on PHP4 & PHP5, We are still waiting on final confirmation from Zeev or Andi if return by reference will be fixed.. Otherwise Packages taking advantage of PHP5 features will probably start appearing eventually.. Regards Alan Jesus Castagnetto wrote:
Packages in PEAR will start migrating to the new PHP 5 object model at their own pace. I know that PHPUnit and MDB (another database abstraction layer) are migrating some of the code to PHP5 (using a branch of the CVS code). Not sure about PEAR::DB, I am cc'ing this message to the pear-dev list so you might get a better response from the maintainers. --- Mark Hensler <mark@maxalbert.com> wrote:
No, I've already got PHP working with MySQL. I had a similar problem to your link when upgrading. I tried to cheat by installing a mysql binary. I guess the package didn't include the mysqlclient libraries (or I couldnt find them). I ended up using a source package and compiling my own. I just installed PEAR::MDB, and it appears to be working. Haven't tested completely. As for a rewrite of PEAR::DB. I doubt a complete rewrite is necessary, but I suspect they'll do it just to take advantage of the benefits of the new object model. Someone even suggested rewritting it in C:
http://www.phpbuilder.com/mail/phplib-list/2001031/0148.php
-Mark -----Original Message----- From: Jay Schauer [mailto:jschauer@ad2adnetwork.com] Sent: Thursday, November 20, 2003 11:32 PM To: Mark Hensler Subject: Re: PHP5 and PEAR Not certain if this advice is relevant or not in your case:
http://www.phpbuilder.com/board/showthread.php?s=206de3c3d03030e7200a9270dd1
b4a94&threadid=10246585 I bookmarked it for when my time comes to upgrade. Your mention of Pear DB vs PHP5 object model reads like greek to me. Surely a complete code revamp isn't expected? At 10:58 PM 11/20/2003, you wrote:
Hey all- So, I just upgraded one of my servers to
php-5.0.0b2 and PEAR::DB broke. :(
The problem is that PEAR::DB isn't compatable with
the new object model in
PHP 5/Zend Engine 2.0. I was aware (and excited)
about the new object
model, but it never occured to me that PEAR
wouldn't be ready with an
alternative. I'm googling for a fix now. If anyone has any
advice... else, take this as
a heads up. Thanks, -Mark Hensler
===== Jesus M. Castagnetto - jesus_castagnetto@yahoo.com Personal: http://www.castagnetto.org/ Research: http://metallo.scripps.edu/ PEAR stuff: http://pear.php.net/user/jmcastagnetto For PHP related stuff: jmcastagnetto@php.net __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.dev (#23807) next »