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

a6965921

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

4515 4 0
4个回答

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

就可以了

  • 暂无评论
年代过于久远,无法发表回答
×
🔝