PHP 5.6.1, extensions and log format update

Change effective on 03 October 2014

PHP version 5.6.1 is now available on Heroku and is the default stable runtime version unless a different version is explicitly selected.

The MongoDB and New Relic PHP extensions have been updated to versions 1.5.7 and 4.14.0.72, respectively.

Log handling for PHP web processes has been improved to remove unnecessary “decoration” in log messages issued by apps (to STDERR or STDOUT) or the PHP engine (notices, warnings etc) added by PHP-FPM; such log messages will now look similar to the following example in heroku logs:

2014-10-02T03:10:57.295587+00:00 app[web.1]: this is a message written to STDERR
2014-10-02T03:10:57.295602+00:00 app[web.1]: [02-Oct-2014 03:10:56 UTC] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /app/index.php on line 10