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

问题描述

我最近在我的桌面上安装了 Windows 7,并且开始出现以下问题:

I recently installed Windows 7 on my desktop and the following problem has begun occuring:

我经常从命令行运行一些 PHP 脚本,这些脚本现在在弹出窗口中显示此错误:

I regularly run some PHP scripts from the commandline that are now giving this error in a popup window:

CLI has stopped working.

我取消此操作,我的脚本终止.不好...

I cancel this and my script terminates. Not good...

我已经四处搜索并尝试了大多数建议的想法,但我仍然被这种烦恼所困扰.现在,当我执行指向图像文件的 url 的 file_get_contents() 时,它似乎经常发生.仅当 url 为 http 协议时才会发生,适用于 ftp 文件.它也会在做其他事情时虚假地发生.

I've googled around and tried most of the few ideas suggested but still i am plagued by this annoyance. Right now it appears to regularly occur when I do a file_get_contents() of a url pointing to an image file. Only happens when the url is http protocol, works fine for ftp files. It also happens spuriously doing other things as well.

这是在 xampp 1.7.2 .zip 中分发的 PHP 5.3.0.所有 exe 和 dll 都已通过 FAT32 复制并返回来解锁.

This is PHP 5.3.0 as distributed in a xampp 1.7.2 .zip. All exe's and dll's have been unblocked by copying thru FAT32 and back.

任何破解此问题的人的提示将是最有帮助的.

hints from anyone who's cracked this would be most helpful.

推荐答案

尝试更新与 xampp 捆绑的 PHP 版本.您可能需要更新一些 php_XXX.dll 扩展文件.

Try updating your PHP version bundled with xampp. You might have to update some php_XXX.dll extension files.

更多信息:http://web2.0entrepreneur.com/31/cli-has-stopped-working-on-windows-vista.html

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

09-03 16:55