最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - Why is a simple phpinfo() script slow on one IIS site but fast on another on the same server? - Stack Overflow

programmeradmin1浏览0评论

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论