程序无法启动,因为缺少php5.dll [英] program cant start because php5.dll is missing

查看:2641
本文介绍了程序无法启动,因为缺少php5.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  1. 我安装了XAMPP,phpinfo:PHP版本5.3.5

  2. 下载的PHPPDT,安装

  3. 下载的webserver debug扩展名,复制的dummy.php

  4. 添加了zend_extension =c:\edward\xampp\php\ext\5_3_x_nts_comp\ZendDebugger.dll

  1. I installed XAMPP , phpinfo: PHP Version 5.3.5
  2. Downloaded PHPPDT, installed
  3. downloaded webserver debug extension, copied dummy.php
  4. added zend_extension="c:\edward\xampp\php\ext\5_3_x_nts_comp\ZendDebugger.dll"

停止,重新启动apache,get:

stop, restart apache, get:

程序无法启动,因为php5.dll缺失从您的计算机

"the program cant start because php5.dll is missing from your computer"

(同时包含php5nts.dll)

(while php5nts.dll is included)

正在安装zend studio ce替代或我可以让它与XAMPP一起工作吗? (使用Zend Studio CE工作)

is installing zend studio ce the alternative or can i make it work with XAMPP? (using Zend Studio CE works)

推荐答案

如果您的php版本是非线程安全(nts)
你必须使用php扩展名格式示例:extension = php_cl_dbg_5_2_ nts .dll
如果您的php版本是线程安全(ts)
,您必须使用php扩展名与格式示例: extension = php_cl_dbg_5_2_ ts .dll
(通知粗体字)

if your php version is Non-Thread-Safe (nts) you must use php extension with format example: extension=php_cl_dbg_5_2_nts.dll else if your php version is Thread-Safe (ts) you must use php extension with format example: extension=php_cl_dbg_5_2_ts.dll (notice bolded words)

所以如果得到上面的错误。首先,检查您的PHP版本是nts或ts,如果是 nts

然后检入php.ini是否有任何行,如zend_extension_ ts = C:\xammp\php\ext\php_dbg.dll-5.2.x从它的主页(google为它)中选择正确版本的php_dbg.dll-5.2.x。
从zend_extension_ ts 更改为zend_extension_ nts

So if get error like above. Firstly, check your PHP version is nts or ts, if is nts.
Then check in php.ini whether has any line like zend_extension_ts="C:\xammp\php\ext\php_dbg.dll-5.2.x" choose right version of php_dbg.dll-5.2.x from it homepage (google for it). Change from zend_extension_ts to zend_extension_nts.

希望此帮助。

这篇关于程序无法启动,因为缺少php5.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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