在 IIS 7 上分析生产中的 PHP 应用程序

Posted

技术标签:

【中文标题】在 IIS 7 上分析生产中的 PHP 应用程序【英文标题】:Profiling PHP application in production on IIS 7 【发布时间】:2012-01-19 09:58:43 【问题描述】:

我想分析生产中的 php 应用程序。我的设置是 windows server 2008,带有 IIS 7FastCGI 中的 PHP 5.3。我从this question 知道 XHProf Profiler 是一个很好的工具,但显然它还不能在 Windows 上运行。我应该尝试使用 xdebug profiler 还是有更好的建议?

【问题讨论】:

【参考方案1】:

试试这个:

http://dev.freshsite.pl/php-extensions/xhprof/file/details/xhprof-0103-for-php-53-vc9.html

【讨论】:

【参考方案2】:

如果您有权访问 Zend Studio 许可证,那么 Zend Server 中内置的分析器非常棒(在此处查看一些屏幕截图 http://files.zend.com/help/Beta/Zend_Studio_8_0/working_with_the_profiler.htm)- 否则 XDebug 和缓存研磨应用程序会有所帮助(参见 http://devzone.zend.com/1139/profiling-php-applications-with-xdebug/)

【讨论】:

以上是关于在 IIS 7 上分析生产中的 PHP 应用程序的主要内容,如果未能解决你的问题,请参考以下文章

W7 Pro IIS 7.5覆盖PHP位置:标题

在 IIS 7 上添加对 PHP 的写入权限

无法在 IIS 7.5 上运行 ASP.NET MVC 2 Web 应用程序

在IIS 7上部署CodeIgniter 1.7.2应用程序

如何在 iis 上部署 angular-cli 应用程序

MVC 1 和 IIS 7 错误代码 4011