如何在 Debian10 上快速搭建 LNMP 环境

https://linux265.com/news/7455.html
Nginx 的 fastcgi-php.conf 片段丢失
https://segmentfault.com/q/1010000043326788

点击查看代码
 location ~ \.php$ {
    #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
    include fastcgi_params;
    fastcgi_intercept_errors on;
    fastcgi_pass unix:/run/php/php-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
posted @ 2022-09-25 16:32  启明文化  阅读(13)  评论(0编辑  收藏  举报