Re: Cannot Load DLLs (WinXP, Apache 2, PHP 5)
| From: | John Holmes | Date: | Wed, 18 Aug 2004 22:37:06 +0000 |
| Subject: | Re: Cannot Load DLLs (WinXP, Apache 2, PHP 5) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194183@lists.php.net to get a copy of this message | ||
Chris Jenkinson wrote:
I can't get PHP to load php_mysql.dll, required to use the mysql_*() functions. I have tried a variety of values for extension_dir, including "C:/php/ext", "C:\php\ext", "C:\php\", "./ext/", "ext/". I have copied php_mysql to all these directories, but it is not loading it. PHP is stored in C:/php, and works perfectly apart from not finding the MySQL dll file. If you could advise me for how to get PHP to load this DLL, I would be very grateful!This was just disussed a few days ago. Copy the libmysql.dll file **that comes with PHP5** into the windows/system32/ directory. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com