Why does pathinfo is setted as ;cgi.fix_pathinfo=1?

48 views
Skip to first unread message

Ben Inio

unread,
Jan 12, 2018, 1:36:51 PM1/12/18
to highload-php-en
Hello,

Why does pathinfo is setted as: ;cgi.fix_pathinfo=1 in /etc/php/*/fpm/php.ini in my Ubuntu 16.04 Nginx server environment?

The documentation I've seen says to change it as in the following way:

sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php/*/fpm/php.ini

Thanks,
Reply all
Reply to author
Forward
0 new messages