Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
645 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 Answer

0 votes
by (71.8m points)

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

clipboard.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...