安装memcache时出错



我正在使用这个命令来安装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:phpphp.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.

我该怎么办?

不要尝试在windows上从源代码编译它,而是从http://pecl.php.net/package/memcache获取预编译的.dll文件

你需要一个完整的开发环境与visual studio能够从源代码编译扩展。这可能不是你想要的。

最新更新