#34472 [NEW]: DB Error: extension not found No Error Log
| From: | ianabush at gmail dot com | Date: | Mon, 12 Sep 2005 04:12:54 +0000 |
| Subject: | #34472 [NEW]: DB Error: extension not found No Error Log | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84891@lists.php.net to get a copy of this message | ||
From: ianabush at gmail dot com
Operating system: Win 32/WinDB
PHP version: 5.0.5
PHP Bug Type: MySQL related
Bug description: DB Error: extension not found No Error Log
Description:
------------
I am attempting to make a simple connection to a mysql database on
localhost using a standard PEAR connection property seen below. I have
modified my PHP.INI to reflect the ext directory, I have modified my PATH
environment variable to point to the PHP and PHP/EXT directories and
copied the libmysql and mysql dlls to the windows\system32 and php
directories, to no avail. I know that this has been tagged as bogus
before, but I am at a loss as to what I am doing wrong here. Other PHP
scripts including calls to a PDF lib are working fine, but this DB
connection is not. From what I am seeing, this appears to be a bug.
Reproduce code:
---------------
//connect
require_once('DB.php');
$db=DB::connect("mysql://user:pass@localhost/phpdev");
if (DB::iserror($db)) {
die($db->getMessage());
}
Expected result:
----------------
A connection to the db, which can be manipulated with select statements,
etc.
Actual result:
--------------
Error message is returned below:
DB Error: extension not found
--
Edit bug report at http://bugs.php.net/?id=34472&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34472&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34472&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34472&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34472&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34472&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34472&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34472&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34472&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34472&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34472&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34472&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34472&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34472&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34472&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34472&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34472&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34472&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34472&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34472&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34472&r=mysqlcfg