Skip to content

Issue with php.ini and opcache exclude #520

Open
@aepod

Description

@aepod

opcache.blacklist_filename="${MAGENTO_CLOUD_APP_DIR}/op-exclude.txt"

opcache.blacklist_filename="${MAGENTO_CLOUD_APP_DIR}/op-exclude.txt"

This line has special characters and ends up causing problems in Magento Cloud Docker environments, and unless it is parsed somehow, I would assume it is not working as intended in Magento Cloud.

This was introduced in: 8cfcb8f#diff-243dae866e7173c76f8b91864096c15ffcb3aec3699da130eb0b7ef2566fdce3

Additionally, the opcache.txt exclude also is problematic. because it refers to /app/ for all the files which on some environments (pro vs starter vs integration) does not always match. Sometimes the root dir is /app/g34n60jkdr_stg for instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions