我只是用IGBinary替换了序列化的PHP。
我遵循以下步骤:
cd /tmp
git clone https://github.com/phadej/igbinary
cd igbinary
phpize
./configure CFLAGS="-O2 -g" –-enable-igbinary –-with-php-config=/usr/bin/php-config
make
make test
make install但在步骤中:make test
我被困住了:
ERROR: Cannot run tests without CLI sapi.这可能就是导致另一个错误的原因:
在……里面
http://censocanino.com/log.php
在这里,我使用一个代码来查看会话是否正确启动。
这带来了一些错误:
Warning: session_start(): Cannot find serialization handler 'igbinary' - session startup failed in /sites/censocanino.com/public/log.php on line 6和
The current "session.save_path" is "/var/lib/php5".
Session file name: "sess_".这个错误证明了为什么phpmyadmin不能工作。
http://censocanino.com/phpmyadmin/
这里显示的是:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.所有这些都将我带到了IGBinary错误。
谢谢
发布于 2014-04-05 10:02:41
已解决
你知道,当你花了12个小时调查代码不工作的原因时,你突然决定重新输入所有东西。
好吧,这发生在我身上,似乎是一个打字错误。
可能是在--enable-igbinary中,--是不同的字符。
不过,还是要谢谢你
https://stackoverflow.com/questions/22875086
复制相似问题