在 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 7 和 FastCGI 中的 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 应用程序的主要内容,如果未能解决你的问题,请参考以下文章
无法在 IIS 7.5 上运行 ASP.NET MVC 2 Web 应用程序