Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
648 views
in Technique[技术] by (71.8m points)

PHP_YAF框架,连接路由后, 刷新页面请求数据需要一个世纪?

PHP_YAF框架+Nginx, 本地环境

当连接到路由器后, 请求数据非常缓慢,刷新一下页面,甚至需要几分钟,才能处理完.
而不连接路由器, 则完全没有这个问题. 
现在换成了, 普联的Tp-link 450M路由, 算是不错的了, 依然还是这样.

求大神回答! 也是搞了很久, 没有解决!!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

数据库的连接有问题吧,把localhost 换成 127.0.0.1

clipboard.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...