ID: 27198 Updated by: [EMAIL PROTECTED] Reported By: spam at eMeidi dot com -Status: Open +Status: Wont fix Bug Type: MySQL related Operating System: Windows 2003 PHP Version: 4.3.5RC2 New Comment:
In PHP 5 you can use your own libmysql.dll. The bundled mysql lib in PHP 4 will not be changed. Previous Comments: ------------------------------------------------------------------------ [2004-02-09 16:43:07] spam at eMeidi dot com Description: ------------ PHP doesn't parse C:\WINDOWS\my.ini, where charset informations would have been specified for the current webserver. Instead, it tries to locate them somewhere in C:\MySQL\ ... - seems to be hardcoded. It would make more sense to look after C:\WINDOWS\my.ini, and only afterwards trying to hit the charsets directly. Output while running php.exe when having MySQL-function calls in PHP-Script: File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set '#5' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file Reproduce code: --------------- $res_db_conn = mysql_connect($arr_user_data[0],$arr_user_data[1],$arr_user_data[2]); Expected result: ---------------- File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set '#5' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file Except of this warning (and a disgusting beep), everything works out fine. Very bad when running cron-jobs ;-) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27198&edit=1
