该程序无法启动,因为您的计算机缺少php7.dll [英] The program can't start because php7.dll is missing from your computer

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

问题描述

我正在当前的xampp中安装apache kafka。 此处是安装链接。我在 php.ini 文件和 etc extension = php_rdkafka.dll c $ c>目录。 xampp重新启动时,我收到此错误消息该程序无法启动,因为您的计算机缺少php7.dll。尝试重新安装程序来解决此问题。我在Google中搜索到,发现来自php7.dll 文件php7.dll / m-download-50.html rel = nofollow noreferrer>在此将此文件放入System32目录中,然后重新启动PC。当再次启动xampp时,会发生同样的事情。

I am installing apache kafka in my current xampp. here is installation link. I put extension=php_rdkafka.dll in my php.ini file also etc directory. While xampp restart I got this error message The program can't start because php7.dll is missing from your computer. Try reinstalling program fix this problem. I searched in google found php7.dll file from here put this file in my System32 directory then restarted my PC. While again start xampp same thing happen. Please help me.

我当前的PHP版本是7.1.11。

My current PHP version is 7.1.11.

Kafka .dll文件在此处- http://pecl.php.net/package/rdkafka

Kafka .dll file found here - http://pecl.php.net/package/rdkafka

推荐答案

问题很可能是由于您要安装的扩展名(php_rdkafka.dll),如果您的php版本是线程安全的( ts ),然后确保您已下载并安装了线程安全的扩展程序,否则请使用非线程安全的( nts )扩展程序。除此之外,还要确保扩展名和php具有相同的体系结构,即x86或x64。

The issue is most likely due to the extension(php_rdkafka.dll) that you are trying to install, if your php version is thread safe(ts) then ensure that you have downloaded and installed an extension which is thread safe otherwise use a non-thread safe(nts) extension. In addition to that also ensure that both the extension and php are of the same architecture i.e x86 or x64.

对于7.1版的PHP使用php_rdkafka.dll。

Use php_rdkafka.dll for php version 7.1.

您可以在phpinfo页面中验证线程安全状态和已安装的php的体系结构(见下文);

You can verify thread safe status and architecture of the installed php in phpinfo page(see below);

phpinfo页面上的体系结构

线程安全状态

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

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