正确做法:Typecho在Tengine下pathinfo的问题(/index.php/xxx/)


下方做法会导致此安全隐患:Nginx + PHP CGI的一个可能的安全漏洞


修改PHP配置

vim /usr/local/php/etc/php.ini
cgi.fix_pathinfo=1

重启服务

service php-fpm restart
service nginx restart

https://askubuntu.com/questions/164627/nginx-php-fpm-access-denied-error