#27435 [NEW]: php_mysql.dll does not work with new versions of libmysql.dll
| From: | raido dot valgevali at mail dot ee | Date: | Sun, 29 Feb 2004 07:10:54 +0000 |
| Subject: | #27435 [NEW]: php_mysql.dll does not work with new versions of libmysql.dll | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-55690@lists.php.net to get a copy of this message | ||
From: raido dot valgevali at mail dot ee
Operating system: Windows (all)
PHP version: 5.0.0b4 (beta4)
PHP Bug Type: MySQL related
Bug description: php_mysql.dll does not work with new versions of libmysql.dll
Description:
------------
At least Visual Studio DLL dependency walker shows that in '5.0.0b4 win32
zip binary' the php_mysql.dll extension supports mysql_create_db() and
mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine.
But these 2 functions are dropped in version 4.x and 5.x libmySQL.dll. So
trying to use newer mysql client libraries with php5 (as suggested)
results an error.
In general it is a request to include both php_mysql3.dll and
php_mysql45.dll in the package. Although it's sure easy to self-recompile
the php_mysql.dll without these 2 functions.
Additional information:
Default manual install and conf of PHP5 and MySQL5 on W2K, IIS. Everything
worked fine.
As I needed MySQL new features (multiple recordsets), I followed the
suggestions of both php.net and mysql.com and placed mysql.com provided
client library libmysql.dll (version 5) into /system32.
After restarting web server, get the following error at first php-file
request:
PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mysql.dll' -
The specified procedure could not be found.
--
Edit bug report at http://bugs.php.net/?id=27435&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27435&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27435&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27435&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27435&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27435&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27435&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27435&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27435&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27435&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27435&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27435&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27435&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27435&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27435&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27435&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27435&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27435&r=float