diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index e339fdf9..babf5ce3 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -80,9 +80,6 @@ server { include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_param PHP_VALUE "max_execution_time = 1200 - max_input_time = 1200 - memory_limit = 64M"; fastcgi_read_timeout 1200; } diff --git a/data/conf/phpfpm/php-fpm.d/pools.conf b/data/conf/phpfpm/php-fpm.d/pools.conf index 9b7a9646..0667c2bc 100644 --- a/data/conf/phpfpm/php-fpm.d/pools.conf +++ b/data/conf/phpfpm/php-fpm.d/pools.conf @@ -10,6 +10,9 @@ listen = [::]:9001 access.log = /proc/self/fd/2 clear_env = no catch_workers_output = yes +php_admin_value[memory_limit] = 256M +php_admin_value[max_execution_time] = 1200 +php_admin_value[max_input_time] = 1200 [web-worker] user = www-data @@ -23,3 +26,7 @@ listen = [::]:9002 access.log = /proc/self/fd/2 clear_env = no catch_workers_output = yes +php_admin_value[memory_limit] = 256M +php_admin_value[max_execution_time] = 1200 +php_admin_value[max_input_time] = 1200 +