Skip to content

Commit

Permalink
Disable php memory and upload limits
Browse files Browse the repository at this point in the history
jtrouth committed Dec 20, 2023
1 parent a7fe6c0 commit eff6981
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -8,10 +8,10 @@ RUN docker-php-ext-install -j "$(nproc)" opcache
# RUN docker-php-ext-install -j "$(nproc)" memcache
RUN set -ex; \
{ \
echo "memory_limit = 256M"; \
echo "max_execution_time = 300"; \
echo "upload_max_filesize = 32M"; \
echo "post_max_size = 32M"; \
# echo "memory_limit = 256M"; \
# echo "max_execution_time = 300"; \
# echo "upload_max_filesize = 32M"; \
# echo "post_max_size = 32M"; \
echo "; Configure Opcache for Containers"; \
echo "opcache.enable = On"; \
echo "opcache.validate_timestamps = Off"; \

0 comments on commit eff6981

Please sign in to comment.