PHP and Apache integration update
Change effective on 17 June 2014
Heroku’s PHP support received an important change today that altered the way requests are handed to the PHP-FPM backend by the Apache web server using the mod_proxy_fcgi
module.
Previously, default rewrite rules on the standard configuration’s <VirtualHost>
level were used to send requests for .php
files to PHP’s FastCGI Process Manager, causing occasional incompatibilities with rewrites in .htaccess
files.
A different approach (SetHandler
based, using a custom module) is now employed instead, providing full compatibility with user-land rewrite rules and other aspects of Web server configuration.
The change also applies to the experimental HHVM runtime.
PHP’s mongo
extension was updated to version 1.5.4.