Skip to content

PHP ini settings not applied when command provided #236

@Thijmen

Description

@Thijmen

So, here's the case.
I build 1 docker image for web and my job runner.
The web instance runs fine and my environment variables gets applied to PHP ini config just fine.

However, in Kubernetes, when I start the container with a command (eg php craft queue/listen), it seems that no settings get applied.

Is there a way to force this? Do I have to run a command before running my command, to apply the settings from ENV to php ini config?

I use shinsenter/php:8.2-fpm-apache by the way. Should I use cli for the CLI one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions