Skip to content

Commit

Permalink
Fix: increasing PHP memory
Browse files Browse the repository at this point in the history
  • Loading branch information
djodjo3 committed Dec 26, 2024
1 parent 605fda0 commit a2d131e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ RUN mv /var/www/html/vhost.conf /etc/apache2/sites-enabled/000-default.conf && \

RUN sed -i 's/^max_execution_time = .*/max_execution_time = 3600/' /usr/local/etc/php/php.ini-production && \
sed -i 's/variables_order = "GPCS"/variables_order = "EGPCS"/' /usr/local/etc/php/php.ini-production && \
sed -i 's/memory_limit = 128M/memory_limit = 192M/' /usr/local/etc/php/php.ini-production && \
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

0 comments on commit a2d131e

Please # to comment.