Jim Mysql does not need to be in the path. You do not need to rename the dll. Php should be looking for php_mysql.dll in the extension_dir specified in your php.ini file. I would suggest you do file search for other copies of the php.ini file in case one is conflicting with another. Once you have ensured you only have one instance of the php.ini file double check your extension directory path. Mike ----- Original Message ----- From: "Steven James Samuel Stapleton" <stapleton@xxxxxxxxxxxxxxxxxx> To: <php-windows@xxxxxxxxxxxxx> Sent: Saturday, October 30, 2004 12:46 PM Subject: Yet another MySQL+PHP5 issue > I am running PHP 5.0.2 and MySQL 4.0.21-nt > > the install directory (C:\WBP\PHP\) is in the path. The MySQL dir is not in > the path. > > I am attempting to use the PHP shell/command line feature (rather than web > server), however I get this result: > > ----------------------------------------------------------------- > C:\> php -v > PHP Warning: PHP Startup: Unable to load dyanamic library > './php_mysql.dll' - The specified module could not be found. > ----------------------------------------------------------------- > > This occures with libmysql.dll in either the php dir, %WINDIR% and > %WINDIR%\system32. > > If I place it in any of these spots and rename it php_mysql.dll, I get this > error: > > ----------------------------------------------------------------- > PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) > 'php_mysql.dll' in Unknown on line 0 > ----------------------------------------------------------------- > > Someone said that this file does not work for MySQL 4.0.21, is that the > cause of this problem (or set of problems) or should I look further? I'm > really stumped here. > > > Thank you, > -Jim Stapleton > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php