Nginx Phpmyadmin文件。/autoload.php丢失或不可读。没有作曲家

Nginx Phpmyadmin文件。/autoload.php丢失或不可读。没有作曲家,nginx,phpmyadmin,Nginx,Phpmyadmin,我使用apt install phpmyadmin在linux上安装了phpmyadmin。 现在它总是向我显示错误: File ./autoload.php missing or not readable. Most likely you did not run Composer to install library files. 我正在使用nginx,并具有以下配置: 默认服务器块 server { listen 443 ssl http2;

我使用apt install phpmyadmin在linux上安装了phpmyadmin。 现在它总是向我显示错误:

File ./autoload.php missing or not readable.
Most likely you did not run Composer to install library files.
我正在使用nginx,并具有以下配置: 默认服务器块

server {
    listen                  443 ssl http2;
    listen                  [::]:443 ssl http2;
    server_name             example.com;
    set                     $base /var/www/html;
    root                    $base;

    # SSL
    ssl_certificate         /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key     /etc/letsencrypt/live/example.com/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/example.com/chain.pem;

    # security
    include                 nginxconfig.io/security.conf;

    # index.php
    index                   index.php;

    # index.php fallback
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    # additional config
    include nginxconfig.io/general.conf;

    # handle .php
    location ~ \.php$ {
        include nginxconfig.io/php_fastcgi.conf;
    }
}

# subdomains redirect
server {
    listen                  443 ssl http2;
    listen                  [::]:443 ssl http2;
    server_name             *.example.com;

    # SSL
    ssl_certificate         /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key     /etc/letsencrypt/live/example.com/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/example.com/chain.pem;
    return                  301 https://example.com$request_uri;
}

# HTTP redirect
server {
    listen      80;
    listen      [::]:80;
    server_name .example.com;
    include     nginxconfig.io/letsencrypt.conf;

    location / {
        return 301 https://example.com$request_uri;
    }
}

php_fastcgi.conf

# 404
try_files                     $fastcgi_script_name =404;

# default fastcgi_params
include                       fastcgi_params;

# fastcgi settings
fastcgi_pass                  unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index                 index.php;
fastcgi_buffers               8 16k;
fastcgi_buffer_size           32k;

# fastcgi params
fastcgi_param DOCUMENT_ROOT   $realpath_root;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$base/:/usr/lib/php/:/tmp/";

有什么想法吗?它一直工作到昨天,但后来我配置了一个新域。现在它在任何域上都不起作用!我想不起我打碎了什么。请帮忙