Skip to content

Add environment variables for PHP error display and logging #148

Description

@shankie-codes

I've just run into an issue on a prod server where, upon investigation, it turns out that PHP's display_errors is turned on by default in this image.

I've suppressed it by adding echo "display_errors=0" >> /usr/local/etc/php/conf.d/errors.ini to my Dockerfile (that's FROM this one), but it would be nice if this was handled out of the box.

I'm happy to do a PR for this, but I just wondered whether there was any reason why you had decided not to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions