CentOS Laravel configured nginx root running Times error

Warning: include(/home/www/station/vendor/composer/../symfony/http-kernel/HttpKernelInterface.php): failed to open stream: No such file or directory in /home/www/station/vendor/composer/ClassLoader.php on line 444

Warning: include(): Failed opening "/home/www/station/vendor/composer/../symfony/http-kernel/HttpKernelInterface.php" for inclusion (include_path=".:/usr/local/php/lib/php") in /home/www/station/vendor/composer/ClassLoader.php on line 444

Fatal error: Interface "Symfony\Component\HttpKernel\HttpKernelInterface" not found in /home/www/station/vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 25

nginx is configured as follows:

server {
        listen       80;
        server_name  localhost;

        charset UTF-8;
        -sharpcharset koi8-r;

        -sharpaccess_log  logs/host.access.log  main;

        location / {
            root   /home/www/station/public/;
            index  index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$query_string;
        }

        -sharperror_page  404              /404.html;

        -sharp redirect server error pages to the static page /50x.html
        -sharp
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   /home/www;
        }

        -sharp proxy the PHP scripts to Apache listening on 127.0.0.1:80
        -sharp
        -sharplocation ~ \.php$ {
        -sharp    proxy_pass   http://127.0.0.1;
        -sharp}

        -sharp pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        -sharp
        location ~ \.php$ {
                root            /home/www/station/public/;
                fastcgi_pass    127.0.0.1:9000;
                fastcgi_index   index.php;
                fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
                include         fastcgi_params;
        }
Mar.29,2021

server {  
        listen  80;    
        server_name localhost;    
        set $root_path '/data/appname/public';    
        root $root_path;    
        
        index index.php index.html index.htm;    
        
        try_files $uri $uri/ @rewrite;    
        
        location @rewrite {    
            rewrite ^/(.*)$ /index.php?_url=/$1;    
        }    
        
        location ~ \.php {    
        
            fastcgi_pass 127.0.0.1:9000;    
            fastcgi_index /index.php;    
        
            fastcgi_split_path_info       ^(.+\.php)(/.+)$;    
            fastcgi_param PATH_INFO       $fastcgi_path_info;    
            fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;    
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;    
            include                       fastcgi_params;  
        }    
        
        location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {    
            root $root_path;    
        }    
        
        location ~ /\.ht {    
            deny all;    
        }    
    }

use this configuration to ensure that PHP-FPM has been started

Menu