宝塔面板错误

问题:

有域名a.xxxxx.com建站,结果是跳到了默认站,并且nginx报错

检查:

nginx报错

2026/02/09 20:22:49 [emerg] 2821749#0: cache "WORDPRESS" uses the "/www/server/fastcgi_cache" cache path while previously it used the "/dev/shm/nginx-cache/wp" cache path

使用的是openrestry,切换到nginx,安装nginx错误:

2026/02/09 20:22:49 [emerg] 2821749#0: cache "WORDPRESS" uses the "/www/server/fastcgi_cache" cache path while previously it used the "/dev/shm/nginx-cache/wp" cache path

修改wordpress网站的nginx文件

    include enable-php-83-wpfastcgi.conf;
    改为include enable-php-83.conf;

之后执行

nginx -t

(以上内容由z.ai支持。)
posted @ 2026-02-09 21:57  POTUS88  阅读(1)  评论(0)    收藏  举报