|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43368 MySQL Client API version too old in PHP4
Submitted: 2007-11-22 02:32 UTC Modified: 2008-03-17 21:02 UTC
Avg. Score:4.0 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:5 (100.0%)
From: carsten_sttgt at gmx dot de Assigned:
Status: Wont fix Package: MySQL related
PHP Version: 4.4.7 OS: Windows_NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
24 + 45 = ?
Subscribe to this entry?

 [2007-11-22 02:32 UTC] carsten_sttgt at gmx dot de

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.

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. 



Reproduce code:
MySQL standard setup with:
default-character-set = utf8

$link = mysql_connect('localhost', 'root', '');
if (!$link) {
    die('Could not connect: ' . mysql_error());
echo 'Connected successfully';

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>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-17 00:53 UTC]
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

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 09:01:29 2024 UTC