laravel-docker icon indicating copy to clipboard operation
laravel-docker copied to clipboard

Set php.ini parameters

Open soymgomez opened this issue 2 years ago • 1 comments

Hello,

we are using that image to run phpunit in a Gitlab pipeline but we are running into the PHP memory limit.

Is there any way to set a higher memory limit than the default?

Best regards

soymgomez avatar Mar 30 '22 19:03 soymgomez

add this to your before_script

echo 'memory_limit = 512M' >> /usr/local/etc/php/conf.d/docker-php-memory-limit.ini

wijaksanapanji avatar Apr 08 '22 07:04 wijaksanapanji