我只是用IGBinary替换了序列化的PHP。我遵循以下步骤:git clone https://github.com/phadej/igbinary./configure CFLAGS="-O2 -g" –-enable-igbinary –-with-php-config=/usr/bin/php-configmake test
make
ini_set('session.save_path','sessions|sess|127.0.0.1:3000');Notice: Undefined index: bins in /var/www/test.php on line 42
请注意,igbinary似乎与默认的PHP会话后端(文件)很好地工作#ini_set('session.
我不想在codeigniter中使用memcached的igbinary。我不希望消息再出现,因为它不能使用igbinary。所以我不确定问题出在没有安装的igbinary上。Error was encounteredMessage: Memcached::get(): could not unserialize value, no igbinary
我还安装了igbinary。; Directory in which the loadable extensions (modules) reside.session.serialize_handler=igbinary。当我运行phpinfo()时,我看到启用了igbinary,但是memcached的不是:Serialization Support php, igbinaryigbinar
brew install php56-memcachedError: No such file or directory - /usr/local/opt/igbinary/include/igbinary.h
我尝试过重新安装php56-igbinaryandphp56本身。我试图找到任何名为igbinary.h的文件,但在计算机上找不到任何文件。我该怎么解决这个问题?