安装memcache时出错

时间:2015-09-29 18:13:14

标签: php pear

我正在使用此命令安装memcache(它不适用于其他扩展程序)

C:\php>pecl install memcache

结果是:

downloading memcache-2.2.7.tgz ...
Starting to download memcache-2.2.7.tgz (36,459 bytes)
..........done: 36,459 bytes
11 source files, building
WARNING: php_bin C:\php\php.exe appears to have a suffix .exe, but config variable p
fix does not match
ERROR: The DSP memcache.dsp does not exist.

我总是收到此错误

ERROR: The DSP memcache.dsp does not exist.

我该怎么办?

1 个答案:

答案 0 :(得分:1)

不要尝试在Windows上从源代码编译它,而是从http://pecl.php.net/package/memcache

获取预编译的.dll文件

您需要使用visual studio的整个开发环境才能从源代码编译扩展。这可能不是你想要的。