Compatible plugin reported as PHP 7.0 uncompatible
-
Hi guys, our Compress JPEG and PNG images plugin is quite thoroughly tested but your PHP 7.0 check failed. We tracked it down to the following lines of code that produced the false result.
<?php
function mysql_dump_file() {
return dirname( __FILE__ ) . ‘/../../tmp/mysqldump_’ . getenv( ‘WORDPRESS_DATABASE’ ) . ‘.sql.gz’;
}shell_exec( ‘gunzip -c < ‘ . mysql_dump_file() . ‘ | mysql -h ‘ . getenv( ‘HOST’ ) . ‘ -u root ‘ . getenv( ‘WORDPRESS_DATABASE’ ) );
?>
Maybe you can take a look!
https://www.ads-software.com/plugins/php-compatibility-checker/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Compatible plugin reported as PHP 7.0 uncompatible’ is closed to new replies.