Skip to content
This repository has been 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

Open
kawaii opened this issue Jan 17, 2018 · 0 comments
Open

Comments

@kawaii
Copy link
Member

kawaii commented Jan 17, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant