提示控制器不存在:app\index\controller\Admin

动态 未结 2 244
nb301dr
VIP1 2020-02-26 22:03:06
悬赏:0L币
nginx+php7.2 安装正常 成功后点击提示提示控制器不存在:app\index\controller\Admin nginx伪静态配置如下 location / { index index.html index.php; #如果文件不存在则尝试TP解析 if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } }
回帖
  • 2020-02-26 23:47:05
    谢谢
    0 回复
  • yuege VIP1 (管理员)
    2020-02-26 22:08:30
    server { listen 80; server_name php.lemocms.cn; root "D:\phpStudy\PHPTutorial\WWW/lemocms/public"; location / { index index.html index.htm index.php; #autoindex on; } location ~ \.php(.*)$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; include fastcgi_params; } }
    0 回复