#34472 [Opn->Bgs]: DB Error: extension not found No Error Log
| From: | derick@php.net | Date: | Mon, 12 Sep 2005 06:37:45 +0000 |
| Subject: | #34472 [Opn->Bgs]: DB Error: extension not found No Error Log | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84896@lists.php.net to get a copy of this message | ||
ID: 34472
Updated by: derick@php.net
Reported By: ianabush at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Win 32/WinDB
PHP Version: 5.0.5
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
File PEAR bugs in the pear bug system.
Previous Comments:
------------------------------------------------------------------------
[2005-09-12 06:12:48] ianabush at gmail dot com
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 this bug report at http://bugs.php.net/?id=34472&edit=1