【笔记】Nginx配置解析PHP 发表于 2022-04-24 更新于 2023-12-04 阅读次数: 前言当完成PHP源码安装后,在Nginx中配置PHP的渲染 修改配置文件 在Server中添加PHP的配置 fastcgi.conf:php-fpm的配置文件 123456location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi.conf;} 完成参考文献哔哩哔哩——千锋教育网络安全学院