Windows上的Memcache,找不到错误php5.dll [英] Memcache on windows, error php5.dll not found

查看:66
本文介绍了Windows上的Memcache,找不到错误php5.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PHP 5.3.0,经过数小时的搜索,发现为该版本编译的php_memcache.dll,现在启动php时出现错误

该程序无法启动,因为您的计算机缺少php5.dll.尝试重新安装该程序以解决问题.

我看到它在php文件夹中有php5ts.dll,但找不到php5.dll.

因此,memcache无法启动. 我怎样才能解决这个问题?

解决方案

旧问题,但是您确定下载的php_memcache.dll与PHP安装兼容吗?

在您的PHP目录中查找:如果有一个"php5ts.dll",您就有一个线程安全的PHP,因此您也需要一个线程安全的"php_memcache.dll",反之亦然.

我也遇到了同样的问题,只是使用了不同的php_ .dll,关于php5.dll的错误消息也使我烦恼了好几个小时,但这只是下载正确的php_ .dll.

I use PHP 5.3.0 and after hours of searching found a php_memcache.dll that is compiled for that version, now as I start php it gives me an error

The program can't start because php5.dll is missing from your computer. Try reinstalling the program to fix the problem.

As I see it there is php5ts.dll in php folder, and I can't find php5.dll.

And as a result memcache does not start. How can I fix this?

解决方案

Old question, but are you sure the php_memcache.dll you downloaded is a thread-safe/unsafe compatible with your PHP install?

Look in your PHP directory: if there's a "php5ts.dll" you have a thread-safe PHP, so you need a thread-safe "php_memcache.dll" too, and vice-versa.

I had the same problem, with a diferent php_.dll, and the error message about php5.dll confused the heck out of me for several hours too, but it was just a matter of downloading the right php_.dll.

这篇关于Windows上的Memcache,找不到错误php5.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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