我試圖爲MAMP安裝memcache。這似乎配置/製作/安裝罰款,但我得到一個錯誤說的API的版本是錯誤的:使用錯誤的API版本爲MAMP安裝memcache
[26-Oct-2012 17:40:51 UTC] PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
我使用MAMP 2.1.1 OS X山獅。
我使用這個內存緩存編譯: http://pecl.php.net/package/memcache/2.2.7
我提取歸檔到該目錄: /Applications/MAMP/bin/php/php5.4.4/include/memcache-2.2.7
然後跑去從提取的目錄中的這些命令:
/Applications/MAMP/bin/php/php5.4.4/bin/phpize
./configure
make
sudo make install
除了我上面提到的沒有錯誤,我在我看到: /Applications/MAMP/logs/php_error.log
有關如何解決此問題的任何想法?
我有同樣的問題。你能解決這個問題嗎? –