admin管理员组文章数量:1350119
I'm hosting multiple websites on the same IIS server with PHP, and I've encountered a perplexing issue. Running a basic script like:
<?php
phpinfo();
?>
on one of the sites takes an unusually long time to respond, while the same script on another site loads almost instantly. Both sites are on the same server, and I’m using the same PHP version.
The problematic site is currently receiving lots of traffic, although I have adequate resources to handle it. The problem goes in and out as well. phpinfo() will run nearly instantly one minute and then take 7 seconds to respond in the next. This delay is reflected every time someone views a page on my site.
I'm out of ideas so looking for some assistance in diagnosing what may be occurring. My impression up to this point was that I was getting periodic bot traffic that was causing the delay, but I've controlled reasonably well for that issue and the problem persists.
本文标签:
版权声明:本文标题:php - Why is a simple phpinfo() script slow on one IIS site but fast on another on the same server? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743870019a2553294.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论