时间:2021-07-01 10:21:17 帮助过:20人阅读
cgi.fix_pathinfo=0
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
--> 启动php-fpm
systemctl start php-fpm
systemctl enable php-fpm
--> 重启nginx
systemctl restart nginx
centos7下配置nginx的mongodb驱动问题
标签:iad cat fips cpe wget include url modules mariadb