Skip to content

Using Symfony2 in a PHP-FPM chroot-ed environment. #6484

@mishunika

Description

@mishunika

I am using Nginx + PHP-FPM chroot in my projects. Since CLI PHP is out of PHP-FPM chroot, the generated directories may differ, so it breaks Twig includes. (i.e. it generates templates.php using absolute non-chrooted path)

We need to trick the console script, so it may think that we are in chroot ;o)
Can we somehow manipulate the base path for the cache warmup?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions