Topic: Updating SCRIPT_FILENAME when using PHP-FPM chroot with Apache
Hey Remi,
This question is not directly related to your repos or packages, but I'm hoping you might have a quick thought on how to solve my problem. I've configured my server with Apache 2.4.23 using Event MPM. I also have PHP-FPM running three different version from your repo: 5.6, 7.0, and 7.1. I recently changed PHP-FPM to chroot for each domain that is hosted on the server. The goal is making sure the PHP process of one site cannot read/write to another site's files. So, here the Proxy part of my Apache virtual host for "example":
<Proxy "unix:/var/www/sites/example/system/php/sockets/example|fcgi://localhost">
ProxySet timeout=60
</Proxy>
<FilesMatch \.php$>
SetHandler "proxy:fcgi://localhost"
</FilesMatch>