Nginx默认安装的版本为1.20会出现下里面的错误提示,将版本调整为1.16即可
宝塔面包-软件商店-Nginx管理-版本切换-ngnix 1.16```
code_text

ERROR:检测到配置文件有错误,请先排除后再操作 nginx: [emerg] open( "/www/server/nginx/conf/enable-php.conf" failed (2: No SuCh file or directory) in /www/server/nginx/conf/nginx.conf:.71 nginx: configuration file /www/server/nginx/conf/nginx.conf test failed