Debian 10203 Published by

Ondřej Surý has released PHP 7.2.0 Release Candidate 4 packages for both Debian GNU/Linux 8 and 9



What's new in 7.2.0 RC4:

- Core
. Fixed bug #75220 (Segfault when calling is_callable on parent). (andrewnester)
. Fixed bug #75290 (debug info of Closures of internal functions contain garbage argument names). (Andrea)

- Apache2Handler:
. Fixed bug #75311 (error: 'zend_hash_key' has no member named 'arKey' in apache2handler). (mcarbonneaux)

- Date:
. Fixed bug #75222 (DateInterval microseconds property always 0). (jhdxr)

- Hash:
. Fixed Bug #75284 (sha3 is not supported on bigendian machine). (Remi)

- Intl:
. Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional). (cmb)

- litespeed:
. Fixed bug #75248 (Binary directory doesn't get created when building only litespeed SAPI). (petk)
. Fixed bug #75251 (Missing program prefix and suffix). (petk)

- OCI8:
. Fixed incorrect reference counting. (Dmitry, Tianfang Yang)

- Opcache
. Fixed bug #75255 (Request hangs and not finish). (Dmitry)

- PCRE:
. Fixed bug #75285 (Broken build when system libpcre don't have jit support). (Remi)

- Sodium:
. Added missing bindings for libsodium > 1.0.13. (Frank)


To add the deb.sury.org 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 https://packages.sury.org/php/apt.gpg
sh -c 'echo "deb https://packages.sury.org/php/ $(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