Код: Выделить всё
`2017/06/22 16:00:22 [error] 23179#23179: *120 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Interface '\WebLib\View' not
found in /var/www/site/app/view/DashboardView.php on line 10" while reading
response header from upstream, client: 88.xx.xxx.xxx, server:
xxxxxx.xxxxxx.xxxxx, request: "GET /dashboard HTTP/1.1", upstream:
"fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "xxxxxx.xxxxxx.xxxxx"`
Код: Выделить всё
`{
"name": "/weblib",
"description": "WebLib",
"license": "MIT",
"authors": [
{
"name": "XXXXX",
"email": "XXXXXX"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.0.0"
},
"autoload": {
"psr-0": {
"XXXXXXXX\\WebLib\\": "src/"
}
}
}`
Код: Выделить всё
`
Подробнее здесь: [url]https://stackoverflow.com/questions/44704080/php-composer-autoload-error-psr-0-not-working[/url]