PEAR DB version 1.7.6 with php version 5.1.1
| From: | Heinz Knoche | Date: | Wed, 15 Feb 2006 16:08:00 +0000 |
| Subject: | PEAR DB version 1.7.6 with php version 5.1.1 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22986@lists.php.net to get a copy of this message | ||
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
--
Heinz Knoche
Muenster
Germany
heinz.knoche@gmx.de
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie