New PHP 7.0.24/7.2.0 RC3 Packages for Debian 8 and 9
Posted on: 09/29/2017 07:33 AM

Ondřej Surý has released PHP 7.0.24 and PHP 7.2.0 RC3 packages for both Debian GNU/Linux 8 and 9

What's new in PHP 7.0.24:

Fixed bug #75042 (run-tests.php issues with EXTENSION block).

Fixed bug #44995 (bcpowmod() fails if scale != 0).
Fixed bug #46781 (BC math handles minus zero incorrectly).
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1).
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus).

CLI server:
Fixed bug #70470 (Built-in server truncates headers spanning over TCP packets).

Fixed bug #75093 (OpenSSL support not detected).

Fixed bug #75124 (gdImageGrayScale() may produce colors).
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?).

Fixed bug #73730 (textdomain(null) throws in strict mode).

Fixed bug #75090 (IntlGregorianCalendar doesn't have constants from parent class).

Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up).

Fixed bug #75173 (incorrect behavior of AppendIterator::append in foreach loop).

Fixed bug #75097 (gethostname fails if your host name is 64 chars long).

What's new in PHP 7.2.0 RC3:

- Core
. Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()). (Laruence)
. Fixed bug #74878 (Data race in ZTS builds). (Nikita, Dmitry)
. Fixed bug #75236 (infinite loop when printing an error-message). (Andrea)
. Fixed bug #75252 (Incorrect token formatting on two parse errors in one request). (Nikita)

- FPM:
. Fixed bug #75212 (php_value acts like php_admin_value). (Remi)

- MySQLi:
. Fixed bug #75018 (Data corruption when reading fields of bit type). (Anatol)

- Opcache:
. Fixed bug #75230 (Invalid opcode 49/1/8 using opcache). (Laruence)

. Fixed bug ##75223 (PCRE JIT broken in 7.2). (Dmitry)

- PDO_mysql:
. Fixed bug #75177 (Type 'bit' is fetched as unexpected string). (Anatol)

- SPL:
. Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags). (J. Jeising, cmb)

To add the PHP repository to your Debian installation, run as root:
apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg
sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
apt-get update

To install PHP 7.2 with MySQL/MariaDB and php-fpm support:
apt-get install php7.2-cgi php7.2-gd php7.2-curl php7.2-imap php7.2-sqlite3 php7.2-mysql php7.2-tidy php7.2-pspell php7.2-recode php7.2-xml php7.2-intl php7.2-enchant php7.2-gmp php7.2-mbstring php7.2-soap php7.2-xmlrpc php7.2-zip php7.2-fpm

Please note that the mcrypt package is no longer available after the support has been removed from PHP 7.2

Printed from Linux Compatible (