Skip to content

Set php.ini based on environment variables #166

@andrewnicols

Description

@andrewnicols

Following from #162 it would be good to include an init script (perhaps in a different location so as not to conflict) which allows the setting of php.ini settings from environment variables. For example:

docker run \
  -e PHPINI-upload_max_filesize=200M \
  -e PHPINI-post_max_size=208M \
  ...

We can fetch all env vars matching a prefix in bash and create a stub php.ini to place them into.

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