diff --git a/entrypoint.sh b/entrypoint.sh index 15853ae..1176949 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -83,6 +83,8 @@ echo "Setting PHP-FPM configuration..." sed -e "s/@MEMORY_LIMIT@/$MEMORY_LIMIT/g" \ -e "s/@UPLOAD_MAX_SIZE@/$UPLOAD_MAX_SIZE/g" \ /tpls/etc/php7/php-fpm.d/www.conf > /etc/php7/php-fpm.d/www.conf +echo "Setting PHP INI configuration..." +sed -i -e "s|memory_limit.*|memory_limit = ${MEMORY_LIMIT}|" /etc/php7/php.ini # OpCache echo "Setting OpCache configuration..."