加载xdebug时,Apache在yaf框架下崩溃。

时间:2012-12-20 05:19:49

标签: php xdebug

所以我的php.ini是这样的:

[XDebug]
zend_extension="D:\xampp\php\ext\php_xdebug-2.2.1-5.4-vc9.dll"
xdebug.remote_enable=true
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="D:\xampp\tmp"

[yaf]
extension=php_yaf-2.2.7-x86-5.4.x-zts-nodebug.dll
;extension=php_yaf.dll
yaf.action_prefer=on
extension=php_mongo-1.3.2RC1-5.4-vc9.dll
extension=php_igbinary.dll
extension=php_redis.dll

我下载了yaf_sample_1.1.0 http://code.google.com/p/yafphp/downloads/list

所以我访问了网址:

http://localhost/sample/index.php

当我的断点步入index.php第21行( - > run();)Apache崩溃了,为什么?

的index.php

$response = $application
    ->bootstrap()/*bootstrap是可选的调用*/
    ->run()/*执行*/;     //this place   apache crached ...

有没有人可以帮助我?谢谢!

0 个答案:

没有答案