PHP-FPM Chroot with cgi.fix_pathinfo=0 causes Access to the script has been denied (see security.limit_extensions)
short description
In website set up with FPM Chroot enabled and accessing to Prestashop URL like example.com/admin813pcfrzb/index.php/configure/advanced/emails/ I got error Access to the script has been denied (see security.limit_extensions)
I can see in the ''php_fpm_pool.conf.master'' condition:
<tmpl_if name='php_fpm_chroot'>
chroot = <tmpl_var name='php_fpm_chroot_dir'>
php_admin_value[doc_root] = <tmpl_var name='php_fpm_chroot_web_folder'>
php_admin_value[cgi.fix_pathinfo] = 0
</tmpl_if>
there is cgi.fix_pathinfo value configured to 0.
May I ask you why is this configuration there? Why you change this value (I have in my default php.ini configured value to 1) to false?
Refer to this https://serverfault.com/a/701500 there should be enough when is configured ''security.limit_extensions'' variable. The refered post however did not mention about chroot enviroment. So, there is reason why I am asking if there is some special condition which requires to set this value to 0 and what should be the best solution of problem descibed above regarding to cgi.fix_pathinfo.
Thanks.