PHP Server - CLI has stopped working

烈酒焚心 提交于 2019-12-13 06:07:27

问题


I ve just updated Wamp to PHP 5.4.3 from 5.3.8. Server runned from Wamp is running correctly but if I want to try run PHP new feature and server is Off -

php artisan serve in laravel4 or

php -S localhost:8888 from command Line I recieve CLI Has stopped working in Windows 7.

Do you have some suggestions ?

System event error log:

Faulting application name: php.exe, version: 5.4.3.0, time stamp: 0x4fb15e42 
Faulting module name: php5ts.dll, version: 5.4.3.0, time stamp: 0x4fb15f2c 
Exception code: 0xc0000005 
Fault offset: 0x0000000000119940 
Faulting process id: 0x6e4 
Faulting application start time: 0x01ce524019a8c721 
Faulting application path: C:\Program Files\wamp\bin\php\php5.4.3\php.exe 
Faulting module path: C:\Program Files\wamp\bin\php\php5.4.3\php5ts.dll

回答1:


You should not have installed WAMP into Program files, some bits of Apache and PHP dont like having spaces in folder names. Remember this all got ported to Windows from a unix originals and unix does not like spaces in directory names.

Try re-installing into c:\wamp



来源:https://stackoverflow.com/questions/16590088/php-server-cli-has-stopped-working

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