Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TP5.1支持 #12

Open
qindj opened this issue Apr 27, 2018 · 3 comments
Open

TP5.1支持 #12

qindj opened this issue Apr 27, 2018 · 3 comments

Comments

@qindj
Copy link

qindj commented Apr 27, 2018

请问下是否支持TP5.1,简单按照说明试了一下,访问tph2是空白页

@zhuanqianfish
Copy link
Owner

我做的时候用的是5.0.12,空白页的情况应该是服务器配置问题吧,是不是找不到入口文件?
Apache环境下改.htaccess ,有一行改成这样:
RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]
在index.php后面加上"?s="

@qindj
Copy link
Author

qindj commented Apr 28, 2018

跟url rewrite 无关,如果我在index.php里加上echo 1;是能显示“1”的,感觉5.0和5.1的机制不一样导致应用没有真正的跑

@zhuanqianfish
Copy link
Owner

嗯,你说的对,好像是5.1改动挺大的,回头研究研究

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants