PHP服务器-CLI已停止工作 [英] PHP Server - CLI has stopped working

查看:537
本文介绍了PHP服务器-CLI已停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将Wamp从5.3.8更新为PHP 5.4.3.从Wamp运行的服务器正常运行,但是如果我想尝试运行PHP新功能并且服务器关闭-

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 在laravel4或

php artisan serve in laravel4 or

php -S localhost:8888的命令行界面CLI已在Windows 7中停止工作.

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

您有什么建议吗?

系统事件错误日志:

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

推荐答案

您不应该在程序文件中安装WAMP,Apache和PHP的某些部分不喜欢在文件夹名称中包含空格.请记住,所有这些都是从unix原始文件移植到Windows的,而unix不喜欢目录名中的空格.

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.

尝试重新安装到c:\ wamp

Try re-installing into c:\wamp

这篇关于PHP服务器-CLI已停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆