码迷,mamicode.com
首页 > 其他好文 > 详细

Fatal error: Class 'GearmanClient' not found解决方法

时间:2015-10-09 20:03:32      阅读:457      评论:0      收藏:0      [点我收藏+]

标签:

产生原因:
没有安装PHP的gearman扩展

解决方法:
1.  打开:http://pecl.php.net/package/gearman
2.  wget  http://pecl.php.net/get/gearman-1.1.2.tgz
3.  tar xzvf gearman-1.1.2.tgz
4.  cd gearman-1.1.2
5.  /path/to/phpize
6.  ./configure --with-php-config=/path/to/php-config
7.  sudo make
8.  make install
9.  vi /path/to/php.ini
10. extension=gearman.so

Fatal error: Class 'GearmanClient' not found解决方法

标签:

原文地址:http://www.cnblogs.com/caicaizi/p/4864856.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!