安裝 PHP memcached 擴展遇到的3個問題

error: memcached support requires ZLIB. Use --with-zlib-dir=<DIR> to specify the prefix where ZLIB headers and library are locatedphp

解決:sudo apt-get install zlib1g-dev

error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are locatedmemcached

解決:sudo apt-get install libmemcached-dev

`php_memcached.lo' is not a valid libtool objectui

解決:make clean

http://pecl.php.net/package/memcached.net

相關文章
相關標籤/搜索