Title: PHP 7.2 compatibility?
Last modified: July 23, 2018

---

# PHP 7.2 compatibility?

 *  Resolved [shawaj](https://wordpress.org/support/users/shawaj/)
 * (@shawaj)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/)
 * Hi,
 * When will you upgrade your plugin to be compatible with PHP 7.2?
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [arisoft](https://wordpress.org/support/users/arisoft/)
 * (@arisoft)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/#post-10568966)
 * Hello,
 * Sorry for the delay, could you specify what problem you have with PHP 7.2? What
   exactly doesn’t work?
 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/#post-10611038)
 * I have a few sites running PHP version 7, 7.1 and 7.2 that do not work.
 * No errors in wp error log and the result is a 503 when opening in a new tab or
   just a blank Adminer area when opening within a modal.
 * The hosting support team reverted back to PHP version 5.6 to prove it works and
   closed my ticket saying the plugin is not compatible with PHP7+ but didn’t ask
   my permission to do this, basically washing their hands of the problem. I’m back
   at PHP 7 but not sure where to go from here.
 *  Plugin Author [arisoft](https://wordpress.org/support/users/arisoft/)
 * (@arisoft)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/#post-10611113)
 * We tested the plugin with different PHP versions (7.x, 7.1.x, 7.2.x) on our test
   server and it works fine. In any case if some code doesn’t support the installed
   PHP version, an error should occur in error log. Probably it is a problem with
   security rules for web server/WordPress.
 *  [CarolWP](https://wordpress.org/support/users/carolwp/)
 * (@carolwp)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/#post-10817387)
 * Here are the errors I got when testing ARI Adminer for compatibility with PHP
   7.2:
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/adminer/adminer/adminer/drivers/elastic.inc.php
    ————————————————————————————————————————————–
   FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ————————————————————————————————————————————–
   19 | WARNING | INI directive ‘track_errors’ is deprecated since PHP 7.2 27 | 
   WARNING | The variable ‘$php_errormsg’ is deprecated since PHP 7.2; Use error_get_last()
   instead ————————————————————————————————————————————–
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/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 155 | ERROR | Extension‘
   mssql’ is removed since PHP 7.0 165 | ERROR | Extension ‘mssql’ is removed since
   PHP 7.0 169 | ERROR | Extension ‘mssql’ is removed since PHP 7.0 172 | ERROR 
   | Extension ‘mssql’ is removed since PHP 7.0 176 | ERROR | Extension ‘mssql’ 
   is removed since PHP 7.0 191 | ERROR | Extension ‘mssql’ is removed since PHP
   7.0 199 | ERROR | Extension ‘mssql’ is removed since PHP 7.0 208 | ERROR | Extension‘
   mssql’ is removed since PHP 7.0 212 | ERROR | Extension ‘mssql’ is removed since
   PHP 7.0 216 | ERROR | Extension ‘mssql’ is removed since PHP 7.0 220 | ERROR 
   | Extension ‘mssql’ is removed since PHP 7.0 224 | ERROR | Extension ‘mssql’ 
   is removed since PHP 7.0 231 | ERROR | Extension ‘mssql’ is removed since PHP
   7.0 235 | ERROR | Extension ‘mssql’ is removed since PHP 7.0 ————————————————————————————————————————————
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/adminer/adminer/adminer/drivers/mysql.inc.php
    ————————————————————————————————————————————
   FOUND 19 ERRORS AFFECTING 18 LINES ————————————————————————————————————————————
   82 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 90 | 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
   103 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 107 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 117 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   125 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 134 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 134 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   137 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 138 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 142 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   143 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 182 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 197 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   204 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 211 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 218 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   228 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead ————————————————————————————————————————————
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/adminer/adminer/adminer/drivers/simpledb.inc.php
    —————————————————————————————————————————————
   FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES —————————————————————————————————————————————
   425 | WARNING | INI directive ‘track_errors’ is deprecated since PHP 7.2 432 
   | WARNING | The variable ‘$php_errormsg’ is deprecated since PHP 7.2; Use error_get_last()
   instead —————————————————————————————————————————————
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/adminer/adminer/adminer/drivers/sqlite.inc.php
    ———————————————————————————————————————————————————
   FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES ———————————————————————————————————————————————————
   80 | WARNING | Method name “Min_Result::__desctruct” is discouraged; PHP has 
   reserved all method names with a double underscore prefix for future use. 91 
   | ERROR | Extension ‘sqlite’ is removed since PHP 5.4 110 | ERROR | Extension‘
   sqlite’ is removed since PHP 5.4 ———————————————————————————————————————————————————
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/adminer/adminer/adminer/include/bootstrap.inc.php
    —————————————————————————————————————————————-
   FOUND 2 ERRORS AFFECTING 2 LINES —————————————————————————————————————————————-
   64 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 
   and removed since PHP 7.0 67 | ERROR | INI directive ‘zend.ze1_compatibility_mode’
   is removed since PHP 5.3 —————————————————————————————————————————————-
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/adminer/adminer/adminer/include/functions.inc.php
    —————————————————————————————————————————————-
   FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES —————————————————————————————————————————————-
   66 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop
   instead 845 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach
   loop instead —————————————————————————————————————————————-
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/includes/utils/dbcheck/drivers/class-mysql.php
    ————————————————————————————————————————————-
   FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES ————————————————————————————————————————————-
   69 | WARNING | INI directive ‘sql.safe_mode’ is removed since PHP 7.2 82 | 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 95 | ERROR | Extension ‘mysql_’ is 
   deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead 97 | ERROR
   | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use
   mysqli instead 104 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and
   removed since PHP 7.0; Use mysqli instead ————————————————————————————————————————————-
 * FILE: /homepages/12/d94971549/htdocs/benefitsattorneywp/wp-content/plugins/ari-
   adminer/includes/utils/dbcheck/drivers/class-sqlite.php
    ————————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ————————————————————————————————————————————– 
   17 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
 *  Plugin Author [arisoft](https://wordpress.org/support/users/arisoft/)
 * (@arisoft)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/#post-10821628)
 * The plugin works fine with PHP 7.2.0. “Adminer” contains some code which are 
   executed only for specific PHP versions. For example uses mysql_ library, only
   when this library is available or use legacy PHP code when PHP 5.x is installed
   on the server. It seems your compatibility tool can’t handle these cases.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP 7.2 compatibility?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ari-adminer_7a2e4b.svg)
 * [ARI Adminer - WordPress Database Manager](https://wordpress.org/plugins/ari-adminer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ari-adminer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ari-adminer/)
 * [Active Topics](https://wordpress.org/support/plugin/ari-adminer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ari-adminer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ari-adminer/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 5 replies
 * 4 participants
 * Last reply from: [arisoft](https://wordpress.org/support/users/arisoft/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-32/#post-10821628)
 * Status: resolved