Late May 2019 PHP/Nginx updates and configuration changes
Change effective on 30 May 2019
The following new runtime versions are now available for PHP applications:
- PHP 7.1.30
- PHP 7.2.19
- PHP 7.3.6
The following extensions have been updated:
-
ext-ev
, version 1.0.6 -
ext-event
, version 2.5.1
The librdkafka
library used by the ext-rdkafka
extensions has been updated to version 1.0.1.
The Nginx web server has been updated to release 1.16.0.
All PHP runtimes have had their php.ini
configuration files updated to closely match each release series’ respective php.ini-production
default configuration. This addresses several issues where configuration directives were not set to their recommended defaults and caused unexpected behavior.
Specifically, the following directives have changed from their previous defaults:
-
error_reporting
is nowE_ALL & ~E_STRICT
for all PHP series (this setting is Heroku specific) -
mail.add_x_header
is nowOff
on PHP 7.1 and later (PHP production default) -
serialize_precision
is now-1
on PHP 7.1 and later (PHP production default) -
session.entropy_length
is now32
on PHP 5.5, 5.6, and 7.0 (PHP production default) -
session.sid_bits_per_character
is now5
on PHP 7.1 and later (PHP production default) -
url_rewriter.tags
is now"form="
on PHP 7.1 and later (PHP production default) -
zend.assertions
is now-1
on PHP 7 (PHP production default)
A new section in the PHP Support article on Dev Center lists Heroku-specific php.ini
settings that deviate from the php.ini-production
defaults.