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

@kawaii

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions