memcached安装成功但是不起作用
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/
Copy Memcached PHP Test file...
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpmdone
iptables: Bad rule (does a matching rule exist in that chain?).
Starting Memcached...
Starting memcached:done
====== Memcached install completed ======
Memcached installed successfully, enjoy it!
这里是成功的,但是打开memcached.php是下面这样
Use PHP Memcached extension.
Memcached Server version:
Get key1 value:
Get key1 value:
Get key2 value:
Get key1 value:
Get key2 value:
Memcached Test tools for LNMP一键安装包 LNMP支持论坛
上面那台是阿里云香港,下面这台是腾讯云国内,更神奇
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/
Copy Memcached PHP Test file...
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpmdone
iptables: Bad rule (does a matching rule exist in that chain?).
Starting Memcached...
Starting memcached:done
====== Memcached install completed ======
Memcached installed successfully, enjoy it!
打开memcached.php是下面这样
PHP Memcached extension was not installed
Use PHP Memcached extension.
Memcached Server version: 1.5.12
Get key1 value: This is first value
Get key1 value: This is replace value
Get key2 value: Array ( => aaa => bbb => ccc => ddd )
Get key1 value:
Get key2 value:
Memcached Test tools for LNMP一键安装包 LNMP支持论坛
正常的话显示应该是这样,看前面连memcached服务器版本都没显示,感觉可能memcached服务器没启动起来或者防火墙之类的规则可能有问题 licess 发表于 2019-3-30 21:27
正常的话显示应该是这样,看前面连memcached服务器版本都没显示,感觉可能memcached服务器没启动起来或者 ...
启动起来了的,我重装系统装lnmp解决了,就是麻烦点。 我是通过 make test 发现2个错误, 要取消禁止 proc_get_status,proc_open.在php.ini 中
先卸载 再次重新安装,就好了
页:
[1]