View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005638||OXID eShop (all versions)||4.01. Database handling||public||2014-02-05 00:39||2015-12-01 10:39|
|Priority||low||Severity||minor||Reproducibility||have not tried|
|Product Version||4.8.3 / 5.1.3|
|Target Version||Fixed in Version|
|Summary||0005638: Setup uses mysql_ functions only|
|Description||The setup routine does not make use of the oxDb-class or AdoDbLite but instead uses the mysql_-functions which are deprecated as of PHP 5.5.0: http://de3.php.net/ChangeLog-5.php#5.5.0|
Therefore simply changing the dbType in config.inc.php does not help and you cannot install OXID eShop on a server where the "oldschool" mysql_-functions are not available.
If I saw it correctly this fact is pointed out in the official system requirements but it may become a problem in the future when the mysql_-functions are not available in every PHP installation by default.
|Tags||MySQL, PHP, Setup|
|MySQL Version||Not defined|
||MySQL system requirements (displayed during setup) is green when at least one of the following extensions are installed: mysql, mysqli or pdo_mysql. However our setup process as you mentioned explicitly uses mysql extension. This is not consistent.|
A mysql_* function (mysql_get_server_info()) is also used in oxDiagnostics::_getMySqlServerInfo().
More information and alternative functions: http://php.net/manual/en/function.mysql-get-server-info.php
||related to this: https://bugs.oxid-esales.com/view.php?id=4819 (because oxDB contains mysql_real_escape_string)|