我试着从另一个回购中安装memcache,结果都出错了:
[root@mail ~]# php -v
PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies如何完全卸载memcached和memcache,然后将其安装为与PHP5.2.10兼容?
谢谢!
发布于 2010-11-26 14:05:05
您应该用pecl安装它:
sudo pecl install memcache这将在您的环境上编译扩展。
https://serverfault.com/questions/206289
复制相似问题