update centmin.sh for PHP 5.6 & 5.7