docker-compose icon indicating copy to clipboard operation
docker-compose copied to clipboard

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

Open kawaii opened this issue 8 years ago • 0 comments

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?

kawaii avatar Jan 17 '18 18:01 kawaii