聊天室代码 我存贮方式改成memcache就报错了

0

Workerman start success ...
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151
PHP Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151


Notice: MemcachePool::get(): Server 127.0.0.1 (tcp 22301, udp 0) failed with: Connection refused (111) in /home/workerman-chat/applications/Chat/Bootstrap/BusinessWorker.php on line 151

已邀请:

walkor

赞同来自:

memcache 服务端端口22301没开

a6965921

赞同来自:

怎么开

a6965921

赞同来自:

memcache -d -m 1024 -u root -l 127.0.0.1 -p 22301 -c 1024 -P /tmp/memcached.pid

a6965921

赞同来自:

就可以了

要回复问题请先登录注册