- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2011-12-2
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
cd /root/lnmp0.7-full/memcache-3.0.5
/usr/local/php/bin/phpize
./configure --enable-memcache --with-php-config=/usr/local/php/bin/php-config
make && make install
cp /root/lnmp0.7-full/memcache-3.0.5/modules/memcache.so /usr/lib64/php/modules
操作系统:CentOS5.7 编译安装后,同时修改了php.ini配置文件,执行php example.php
PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Fatal error: Call to undefined function memcache_connect() in /root/lnmp0.7-full/memcache-3.0.5/example.php on line 3
EMAIL: lwg2001s@gmail.com
[ 本帖最后由 lwg2001s 于 2011-12-2 20:41 编辑 ] |
|