老师好我按照视频里面进行到sudo vim /etc/php/7.1/fpm/pool.d/www.conf之后出现的是```
; Start a new pool named ‘www’.
; the variable $pool can we used in any directive and will be replaced by the
; pool name (‘www’ here)
[www]
; Per pool prefix
; It only applies on the following directives:
; - ‘access.log’
; - ‘slowlog’
; - ‘listen’ (unixsocket)
; - ‘chroot’
; - ‘chdir’
; - ‘php_values’
; - ‘php_admin_values’
; When not set, the global prefix (or /usr) applies instead.
; Note: This directive can also be relative to the global prefix.
; Default Value: none
;prefix = /path/to/pools/$pool
查了一下nginx的error log,出现以下错误:
2017/04/07 13:25:58 [error] 22825#0: *55 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/laravel-ubuntu/bootstrap/…/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/laravel-ubuntu/bootstrap/autoload.php on line 17
nginx.service" and “journalctl -xe” for details. 请问这个是什么原因? nginx -t 显示 nginx: [emerg] directive “location” has no opening “{” in /etc/nginx/sites-enabled/default:63
nginx: configuration file /etc/nginx/nginx.conf test failed