wordpress 4.7.5 指定用PHP7.0 502错误 nginx
location /themes\/.*\.(html|xml)$ {return 403;
}
location /mobile {
if (!-e $request_filename) {
rewrite ^/mobile/(.*)$ /mobile/index.php last;
}
}
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php last;
}
用这个静态规则指定运行5.5没有问题,运行7.0 直接502求大神解救 应该是跟PHP7有关 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=98757&ptid=57777]2#[/url] [i]admin[/i] [/b]
换面5.6也是一样的502
页:
[1]