Skip to content

Commit

Permalink
SC-9428: PHP - memory_limit configuration (#326)
Browse files Browse the repository at this point in the history
* SC-9428: PHP - memory_limit configuration

* SC-9428: moved `error_log` worker config to php ini

Co-authored-by: Filip Sushko <[email protected]>
  • Loading branch information
alexanderM91 and zyuzka authored Jun 3, 2022
1 parent 96716d3 commit 7561a90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions context/php/php-fpm.d/worker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,3 @@ ping.response = OK
request_terminate_timeout = 1m

chdir = /

php_admin_value[memory_limit] = 1024M
php_admin_value[expose_php] = off
php_admin_value[error_log] = /dev/stderr
2 changes: 1 addition & 1 deletion context/php/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ ldap.max_links = -1
; End:

display_errors = STDOUT
error_log = ${SPRYKER_LOG_DIRECTORY}/php_errors.log
error_log = /dev/stderr
expose_php = Off
post_max_size = 128M
upload_max_filesize = 128M
Expand Down

0 comments on commit 7561a90

Please sign in to comment.