Skip to content
This repository was archived by the owner on Jun 22, 2018. It is now read-only.
This repository was archived by the owner on Jun 22, 2018. It is now read-only.

Set sensible defaults for PHP execution time and POST/upload sizes #3

Description

@kawaii

The following snippet should be added to the Dockerfile to override the PHP defaults for uploaded files and script execution time.

RUN { \
                echo 'file_uploads=On'; \
                echo 'max_execution_time=20'; \
                echo 'post_max_size=10M'; \
                echo 'upload_max_filesize=10M'; \
                echo 'memory_limit=256M'; \
        } > /usr/local/etc/php/conf.d/mybb-recommended.ini

Could I get some feedback from @mybb/developers and @mybb/sqa with regards to some numbers that we all agree on please?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions