我使用这个命令来安装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.
我该怎么办?
发布于 2015-11-12 15:09:15
不要尝试从windows上的源代码编译它,而是从http://pecl.php.net/package/memcache获得一个预编译的http://pecl.php.net/package/memcache文件。
您需要一个带有visual studio的完整开发环境才能从源编译扩展。这可能不是你想要的。
https://stackoverflow.com/questions/32851013
复制相似问题