解决thinkphp5模块不存在index.php/index问题
前言在服务器上运行thinkphp时,会出现模块不存在:index或者模块不存在:index.php的问题 服务器环境:系统:CentOS 7 x64nginx:1.12.2 thinkphp版本:5.1 修改nginx配置文件 1234567891011121314151617181920212223242526location / { index index.php index.html; # 重写url if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; break; }}location ~ .+\.php($|/) { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; # 加载Nginx默认"服务器环境变量"配置 include fastcgi.conf; #...