Skip to content

Commit

Permalink
PHP: bump cli max memory to 768
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Sep 19, 2024
1 parent 8f4ba8c commit ff2db96
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions php-base/config/php/conf.d/memory.ini
2 changes: 2 additions & 0 deletions php-base/config/php/mods-available/memory.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; Bump memory for CLI (overriden for FPM)
memory_limit = 768M
3 changes: 3 additions & 0 deletions php-base/config/php/php-fpm.d/www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ chdir = /
php_admin_value[disable_functions] = exec,passthru,shell_exec,system
php_admin_flag[allow_url_include] = off

; memory limit (FPM specific)
php_admin_value[memory_limit] = 128M

; WARNING: lines below generated by bootstrap script
2 changes: 1 addition & 1 deletion php-base/config/supervisor/conf.d/php-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ stderr_logfile_maxbytes=0

autorestart=false
startretries=0
stopasgroup=true
stopasgroup=true

0 comments on commit ff2db96

Please sign in to comment.