Help Loading MySQL Extension with PHP5/Apache1.3
| From: | John Holmes | Date: | Thu, 12 Aug 2004 16:45:15 +0000 |
| Subject: | Help Loading MySQL Extension with PHP5/Apache1.3 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193564@lists.php.net to get a copy of this message | ||
Okay... I've done this before but can't get it working now. I've got PHP5 working correctly, but I'm trying to load the MySQL php_mysql.dll file. I'm using Apache 1.3 on Windows XP.
No matter what I use for extension_dir in php.ini, it can't seem to find the file. An error dialog will pop up saying "Unable to load dynamic library 'c:\php\ext\php_mysql.dll' - The specified module could not be found." even though that's where the #!@#$%^#@ file is!
I've tried putting the .dll in c:\php and c:\windows\system32, also, but I always get the same error even though the path it shows in the error is the correct path. I've tried c:/php, c:/php/ext/, c:\php\ext, c:\php, blank, etc with and without trailing slashes...
The "everyone" user has full control over the entire c:\php directory and subdirectories.
Any ideas? Going back to PHP4 until I can get this sorted out...
Examples from Apache error log of paths to file apache couldn't find:
'\php\ext\php_mysql.dll'
'c:/php/ext\php_mysql.dll'
'c:/php/ext\php_mysql.dll'
'c:\php\ext\php_mysql.dll'
'c:/php/ext/php_mysql.dll'
'c:\php\ext\php_mysql.dll'
'./php_mysql.dll'
'c:/php/ext/php_mysql.dll'
'c:\php\ext\php_mysql.dll'
'c:/php/ext\php_mysql.dll'
'c:/php/ext\php_mysql.dll'
'\php\ext\php_mysql.dll'
'c:/php/ext/php_mysql.dll'
'c:\windows\system32\php_mysql.dll'
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com