• Resolved bruno05

    (@bruno05)


    I like this plugin, but now that I am upgrading to PHP 7 and your plugin is not compatible and has a lot of deprecated code. When will this be ready for PHP 7.0. Unfortunately for now I have to delete this.

    To help you out, here are the lines and errors:

    wp-content/plugins/ari-adminer/adminer/adminer/adminer/include/bootstrap.inc.php
    —————————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 2 LINES
    —————————————————————————————————————————
    53 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    56 | ERROR | INI directive ‘zend.ze1_compatibility_mode’ is removed since PHP 5.3
    —————————————————————————————————————————

    wp-content/plugins/ari-adminer/adminer/adminer/adminer/drivers/mysql.inc.php
    ———————————————————————————————————————–
    FOUND 19 ERRORS AFFECTING 18 LINES
    ———————————————————————————————————————–
    71 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    79 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    81 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    92 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    96 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    106 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    114 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    123 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    123 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    126 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    127 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    131 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    132 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    171 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    186 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    193 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    200 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    207 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    217 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ———————————————————————————————————————–

    wp-content/plugins/ari-adminer/adminer/adminer/adminer/drivers/mssql.inc.php
    ———————————————————————————————————————–
    FOUND 15 ERRORS AFFECTING 15 LINES
    ———————————————————————————————————————–
    147 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    153 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    163 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    167 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    170 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    174 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    189 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    197 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    206 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    210 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    214 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    218 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    222 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    229 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    233 | ERROR | Extension ‘mssql’ is removed since PHP 7.0
    ———————————————————————————————————————–

Viewing 1 replies (of 1 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello

    “ARI Adminer” is based on Adminer application (https://adminer.org). It is not our application. Adminer supports old PHP versions, but it also works with PHP 7.x.

    About the warnings, the PHP code should be checked in context where it is used. For example set_magic_quotes_runtime() function is executed only when get_magic_quotes_runtime() function returns true, but since PHP 5.4.0 it always returns false, but it can be used in PHP 7 (https://php.net/manual/en/function.get-magic-quotes-runtime.php). I guess Adminer team doesn’t remove this code to support old PHP versions.

    The same situation with other warnings, old DB drivers will be used only when they are available otherwise the plugin will use more modern DB drivers. It doesn’t try to execute old PHP code if it is not supported by current PHP version.

    In any case, when Adminer team drops support of old PHP version and release a new version of their tool, we will include it into the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Not PHP 7 compatible’ is closed to new replies.