I have the following environment
Windows XP SP2
Apache 2.0.22
PHP 5.2.2 with mysql and mysql-nd extensions
MySQL 5.1
Even though I have mysql-nd and MySQL 5.1, installer check for ‘PHP
module for MYSQL 5’ fails. This is because installer checks the
mysql_get_client_info() function, which in my case returns 4.1.17, even
though I ALSO have mysql-nd, which supports Mysql client protocol 5.
PHP allows both extensions to be active at the same time. So installer
should not fail in this scenario.
Solution: Installer could also check the mysqli_get_client_info()
function, as ext/mysql is for MySQL 4 and ext/mysqli, ext/mysqlnd is for
MySQL 5.
Workaround: comment the line 518 in setup/index.php
//$iModStat = ( $iModStat == 0 || !function_exists(
‘mysql_get_client_info’ ) ) ? $iModStat : ( version_compare(
mysql_get_client_info(), ‘5’, ‘>=’ ) ? 2 : 0 );
and installation proceeds normally.
This is also posted as a bug at
https://bugs.oxid-esales.com/view.php?id=500