I followed this guide and updated the values:
/etc/php/7.0/fpm/php.ini
and change/add this:
max_execution_time = 300
and /etc/php/7.0/fpm/pool.d/www.conf
as well and change/add this:
php_admin_value[max_execution_time] = 300
and /etc/nginx/sites-available/example.com
, and in the cgi section add:
fastcgi_read_timeout 300;
... followed by restarts but still:
# php -i | grep max_execution_time
max_execution_time => 0 => 0
This is the location block for my site:
location ~ .php$ {
fastcgi_split_path_info ^(.+.php)(/.*)$;
try_files $uri =404;
fastcgi_keep_conn on;
fastcgi_read_timeout 600;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
What am doing wrong?