我有memcached
與libmemcached安裝。我也安裝了igbinary
。如何啓用與memcached第一個安裝igbinary
這是我的php.ini:
; Directory in which the loadable extensions (modules) reside.
;extension_dir = "./"
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"
extension=apc.so
apc.enabled=1
apc.shm_size=128M
extension=memcached.so
session.save_handler=memcached
session.save_path="127.0.0.1:11211"
extension=igbinary.so
session.serialize_handler=igbinary
igbinary.compact_strings=On
。
當我運行phpinfo()函數我看到igbinary已啓用,但不 memcached的:
apc
Serialization Support php, igbinary
igbinary
igbinary support enabled
igbinary version 1.1.1
igbinary APC serializer ABI 0
Directive Local Value Master Value
igbinary.compact_strings On On
phpinfo()函數有關的memcached:
memcached
memcached support enabled
Version 1.0.2
libmemcached version 0.51
Session support yes
igbinary support no
最後一行:igbinary support
這就是這個問題。奇怪的是,正如你可以在標題apc下看到的那樣:Serialization Support php, igbinary
。
所以有人知道爲什麼我不能啓用igbinary爲memcached?
謝謝!
你選擇的答案是如何幫助你的?我處於同樣的情況,但無法理解答案的意義。你能解釋你做了什麼嗎? – 2013-05-09 09:57:25