#43368 [->WFx]: MySQL Client API version too old in PHP4
| From: | bjori@php.net | Date: | Mon, 17 Mar 2008 21:02:01 +0000 |
| Subject: | #43368 [->WFx]: MySQL Client API version too old in PHP4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123396@lists.php.net to get a copy of this message | ||
ID: 43368
Updated by: bjori@php.net
Reported By: carsten_sttgt at gmx dot de
-Status: Wont Fix
+Status: Wont fix
Bug Type: MySQL related
Operating System: Windows_NT
PHP Version: 4.4.7
Previous Comments:
------------------------------------------------------------------------
[2008-03-17 00:53:53] jani@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.
------------------------------------------------------------------------
[2007-11-22 02:32:13] carsten_sttgt at gmx dot de
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 this bug report at http://bugs.php.net/?id=43368&edit=1