Skip to content

Commit

Permalink
Merge pull request #330 from PrestaShop/fix/php_memory_limit
Browse files Browse the repository at this point in the history
Fix: increasing PHP memory
  • Loading branch information
djodjo3 authored Jan 3, 2025
2 parents 472cccf + 9dc2618 commit 5ac0e1a
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 5ac0e1a

Please sign in to comment.