好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

thinkphp引入sphinx错误问题

php报错:Cannot redeclare class 提示的解决方法

分析下有以下几种原因

1是php已经引入了sphinx扩展,二次加载了

2路径错误

解决办法

去掉引入文件

直接$spx = new \SphinxClient;

那么问题解决了

查看更多关于thinkphp引入sphinx错误问题的详细内容...

  阅读:79次