2015-09-29 47 views
0

當我使用這個命令來安裝內存緩存(它沒有爲其他擴展工作)
錯誤安裝的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

不要試圖從源代碼編譯它在Windows但從http://pecl.php.net/package/memcache

獲得預編譯的.dll文件您將需要使用Visual Studio整個開發環境,能夠編譯來源擴展。這可能不是你想要的。