From: carsten_sttgt at gmx dot de Operating system: Windows_NT PHP version: 4.4.7 PHP Bug Type: MySQL related Bug description: MySQL Client API version too old in PHP4
Description: ------------ Hello, now after 2 years, the same bug as in Bug #32557 still exists (and setting this to bogus in #32557 is just a bad joke. Maybe it is a "Won't fix", because you wont do the job). The problem is just the very, very old MySQL-Client (3.23.49), which is used for compiling the MySQL extension in PHP4/Win. And in PHP4/Win the extension is compiled in, and not a shared extension, so we (a Windows user) can't use an other (newer) extension in an easy way. BTW: In conclusion this sentence in the PHP-Manual [1] is not true for PHP4/Win: > Although this MySQL extension is compatible with MySQL 4.1.0 > and greater. Regards, Carsten [1] http://de.php.net/manual/en/ref.mysql.php#mysql.installation Reproduce code: --------------- MySQL standard setup with: default-character-set = utf8 <?php $link = mysql_connect('localhost', 'root', ''); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?> Expected result: ---------------- | D:\PHP>php test.php | Connected successfully | D:\PHP> Actual result: -------------- | D:\PHP>php test.php | File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) | Character set '#33' is not a compiled character set and is not \ | specified in the 'c:\mysql\share\charsets\Index' file | Connected successfully | D:\PHP> -- Edit bug report at http://bugs.php.net/?id=43368&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43368&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43368&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43368&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43368&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43368&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43368&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43368&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43368&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43368&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43368&r=support Expected behavior: http://bugs.php.net/fix.php?id=43368&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43368&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43368&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43368&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43368&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43368&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43368&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43368&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43368&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43368&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43368&r=mysqlcfg
