On Thu, 1 Oct 2020 at 16:13, Dik Takken <dik.tak...@gmail.com> wrote:

> The only use case I see is to package commercial closed source
> applications as Docker containers. That allows the packager to ship the
> compiled code along with the exact PHP version and configuration that
> can run it reliably.
>


Could this not be achieved by freezing the existing OpCache file cache into
the Docker image and telling OpCache not to validate timestamps, so that it
always loads from the cache? That way, your application wouldn't even need
to be modified, as the require_once lines would still refer to the original
source paths.

Regards,
-- 
Rowan Tommins
[IMSoP]

Reply via email to