View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000500 | OXID eShop (all versions) | 6. ------ Setup ------- | public | 2009-01-12 16:48 | 2009-01-13 14:06 |
Reporter | vikram | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 4.0.1.0 revision 15990 | ||||
Summary | 0000500: Installer check for MySQL module is flawed | ||||
Description | 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 your 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 your installer should not fail in this scenario. Solution: Your 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 0000518 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. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||