php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37626 mysql library loading problem
Submitted: 2006-05-29 11:38 UTC Modified: 2006-05-29 11:46 UTC
From: p dot szumny at bwm dot com dot pl Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.1.4 OS: WinXP x64 Edition; SP1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 25 = ?
Subscribe to this entry?

 
 [2006-05-29 11:38 UTC] p dot szumny at bwm dot com dot pl
Description:
------------
During starting Apache 2.0.58 mysql library are not loaded:

PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0

I have configured in php.ini:
extension_dir = "c:\php\ext"

Rest of modules (ex. bz2, pdo, pdo_pgsql) loads OK.
On WinXP 32-bit edition everything was OK.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-29 11:46 UTC] tony2001@php.net
http://php.net/mysql

MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini. *Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH.* See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the system's PATH), it's not recommended.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 13:01:32 2024 UTC