Heim  >  Fragen und Antworten  >  Hauptteil

Das PHP-Programm hat gemeldet, dass es das Modul install.php nicht laden konnte

Ich habe im Internet ein PHP-Programm gefunden, das so aussah, als wäre es auf Basis von thinkPHP 3.1 entwickelt worden, und habe dann meinen Alibaba Cloud-Dienst in der PHP-Umgebung installiert. Da Nginx zuvor installiert wurde, ist die Umgebung PHP7.0+Nginx. Nach der Konfiguration lautet die Eingabeaufforderung jedoch wie folgt:

Modul: install.php konnte nicht geladen werden
Fehlerort

DATEI: /usr/local/nginx/php/thinkphp/Common/functions.php ZEILE: 112

Aber eine einfache PHPInfo-Seite kann angezeigt werden. Was ist das Problem? Meine Nginx-Konfiguration ist unten angehängt

server {
        listen 80;
        server_name shop.luger.me;
        index index.php index.html;
        root /usr/local/nginx/php;

        location /{
                if (!-e $request_filename) {
                        rewrite ^/(.*)$ /index.php/ last;
                        break;
                }
        }

        #location ~ \.php$ {
        location ~ ^(.+\.php)(.*)$ {
                root /usr/local/nginx/php;

                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name;
                fastcgi_param PATH_INFO $fastcgi_script_name;
                include fastcgi_params;

        }
}

Was ist das Problem?

过去多啦不再A梦过去多啦不再A梦2679 Tage vor939

Antworte allen(1)Ich werde antworten

  • PHPz

    PHPz2017-05-24 11:34:25

    没有安装程序或者nginx需要对安装程序做特殊配置。需要看你的PHP程序官方文档或安装文档

    Antwort
    0
  • StornierenAntwort