1

我有使用 Zend Framework 1、MVC 模式的 PHP 应用程序。

我可以在 CLI 模式下运行 PHP 应用程序:

/usr/local/php5/bin/php /pathToIndex/index.php -a moduleName.controllerName.actionName

我可以在 CLI 模式下调试 PHP 应用程序:

QUERY_STRING="start_debug=1&no_remote=1&debug_stop=1&debug_host=MYIP&debug_port=10137&debug_file_bp=pathToFile" /usr/local/php5/bin/php /pathToIndex/index.php -a moduleName.controllerName.actionName

选项 Run -> Profile as -> CLI Application 不允许使用参数。

如何在 CLI 模式下运行分析器?

4

0 回答 0