View Issue Details
|OXID eShop (all versions)
|4.01. Database handling
|have not tried
|4.8.3 / 5.1.3
|Fixed in Version
|0005638: Setup uses mysql_ functions only
|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.
|MySQL, PHP, Setup
|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)
|AdoDbLite was removed from the framework in version 6.0