Fatal error: Class 'Memcached' not found in /my/path

偶尔善良 提交于 2019-12-05 14:20:39

Based on your comment I don't think you have it installed properly. Make sure you see a see a section in phpinfo() such as:

memcached
memcached support   enabled
Version     x.x.x
libmemcached version    x.xx

1) Get libmemcached

2) Configure the package

3) Make install sudo make install libmemcached

4) Try Installing with Install with sudo pecl install memcached

5) make sure you have extension = memcached.so in your php.ini

Restart Apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!