修改fpm后报错
我在配置tp5的时候,在没有配置sudo vim www.conf的情况下,
将sudo vim www.conf中的;listen = `/`v ar/run/php5-fpm.sock //注释掉
listen = 127.0.0.1:9000 就报错
日志:
2018/09/25 13:16:44 [error] 1637#0: *15 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /home/www/imooc/tp5/thinkphp/library/think/Loader.php on line 391" while reading response header from upstream, client: 192.168.196.1, server: tp5.imooc.test, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "tp5.imooc.test"