Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore: update PHP configuration to set memory limit using environment variable

Andras Bacsai3a76ffd6accb
diff --git a/docker/development/etc/php/conf.d/zzz-custom-php.ini b/docker/development/etc/php/conf.d/zzz-custom-php.ini
index 33fb865e09..dcf0489045 100644
--- a/docker/development/etc/php/conf.d/zzz-custom-php.ini
+++ b/docker/development/etc/php/conf.d/zzz-custom-php.ini
@@ -7,3 +7,4 @@ ignore_repeated_source = On
upload_max_filesize = 256M
post_max_size = 256M
+memory_limit = ${PHP_MEMORY_LIMIT:-256M}
diff --git a/docker/production/etc/php/conf.d/zzz-custom-php.ini b/docker/production/etc/php/conf.d/zzz-custom-php.ini
index a2297ad0db..ee18b77e95 100644
--- a/docker/production/etc/php/conf.d/zzz-custom-php.ini
+++ b/docker/production/etc/php/conf.d/zzz-custom-php.ini
@@ -7,3 +7,4 @@ ignore_repeated_source = On
upload_max_filesize = 256M
post_max_size = 256M
+memory_limit = ${PHP_MEMORY_LIMIT:-256M}