Memcached/APC 无法随 PHP 启动

Memcached/APC 无法随 PHP 启动

我已经编译了 PHP 5.3.9 和 NGINX 1.0.11,并希望将 APC 和 Memcached 与 PHP 一起使用。尝试加载 APC/Memcached 模块时,我不断收到此错误:

Unknown(0) : Warning - PHP Startup: memcached: Unable to initialize module
Module compiled with build ID=API20090626,NTS
PHP compiled with build ID=API20090626,NTS,debug
These options need to match

我尝试重新编译(configure、make、make install)PHP,不使用 --enable-debug 选项,但仍然没有成功。有什么想法让我需要做这些选项才能匹配吗?

答案1

通过编译不带该选项的新版本 (5.3.10) PHP 已解决此错误--enable-debug

相关内容