wamp php CLI has stopped working

安稳与你 提交于 2019-12-11 07:14:59

问题


I installed wamp server 2.2 with php 5.3.10 and apache 2.2.21. But when I want to execute some symfony command the response from my Windows 7 Home Premium is:

php -> CLI has stopped working

回答1:


I had this error for a long time. It turned out I was on a slightly older version of Xdebug (php_xdebug-2.2.0-5.4-vc9.dll).

I replaced that file with "php_xdebug-2.2.2-5.4-vc9.dll" and it magically started working immediately.

I'm on wamp, and I updated both php.ini files (one is for cli, one for normal use) with the latest filename. "zend_extension = c:\wamp\bin\php\php5.4.3\ext\php_xdebug-2.2.2-5.4-vc9.dll"

Then dropped the new file into the php ext folder and instant success. Hope this helps.



来源:https://stackoverflow.com/questions/10664370/wamp-php-cli-has-stopped-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!