Re: PEAR DB version 1.7.6 with php version 5.1.1

From: Date: Wed, 15 Feb 2006 16:40:49 +0000
Subject: Re: PEAR DB version 1.7.6 with php version 5.1.1
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22987@lists.php.net to get a copy of this message
Bonsoir, DB is certainly not PHP5 full compatible. I think it runs nice with PHP5 but not E_STRICT. What is the error reporting setting you have? Regards -- toggg Heinz Knoche wrote:
Dear Ladies & Sirs! Calling "connect" statically (according to the PEAR DB package documentation) I get the following error: Error: "Non static method DB::connect () should not be called statically" (error #2048). (Checking the code of DB.php I found that connect is indeed not declared to be static) Furthermore I receive errors concerning the use of the modifier "var". E.g.: Line 58 in /usr/local/lib/php/DB/mysqli.php. Error: "var: Deprecated. Please use the public/private/protected modifiers" (error #2048) I'm using the MySQL database version 5.0.18 with mysqli-support compiled in and PHP version 5.1.1 I'd be grateful for some hint which PEAR DB version I should use. Yours sincerely, Heinz Knoche


« previous php.pear.general (#22987) next »