Skip to content

Commit 85ba856

Browse files
authored
Increase PHP memory limit for DevContainer to 512mb
Signed-off-by: Robin Windey <[email protected]>
1 parent ff92ab1 commit 85ba856

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.devcontainer/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ RUN { \
5252
echo "xdebug.start_with_request=yes"; \
5353
} >> /etc/php/8.3/apache2/conf.d/20-xdebug.ini
5454

55+
# Increase PHP memory limit to 512mb
56+
RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.3/apache2/php.ini
57+
5558
# Docker
5659
RUN apt-get -y install \
5760
apt-transport-https \

0 commit comments

Comments
 (0)