php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34472 DB Error: extension not found No Error Log
Submitted: 2005-09-12 06:12 UTC Modified: 2005-09-12 18:15 UTC
From: ianabush at gmail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.5 OS: Win 32/WinDB
Private report: No CVE-ID: None
 [2005-09-12 06:12 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-12 08:37 UTC] derick@php.net
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.
 [2005-09-12 17:43 UTC] ianabush at gmail dot com
Why is this not considered a bug? The configuration and dll's are all where they are supposed to be in the installation, and the proper support has been defined for PEAR. 

What am I missing here? At least take a look at the issue instead of dismissing it out of hand with a canned answer. "Clearing the queue", but not fixing the problem is not the right way to do business.
 [2005-09-12 18:15 UTC] sniper@php.net
This bug system is meant for bugs in PHP core. 
Please report PEAR bugs at: http://pear.php.net/bugs/


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Sep 06 10:00:01 2025 UTC