php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38027 extension_dir not working
Submitted: 2006-07-06 23:04 UTC Modified: 2006-07-07 08:21 UTC
From: danyup at mybox dot it Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.1.4 OS: Windows XP SP2
Private report: No CVE-ID: None
 [2006-07-06 23:04 UTC] danyup at mybox dot it
Description:
------------
Php can't see php_mysql.dll even if I try to change extension_dir directive. He say can't load module. I tried absolute and relative path, none working. I have c:\php in my path.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-07 08:21 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: Mon Apr 29 18:01:30 2024 UTC