Home  >  Article  >  Backend Development  >  PHP5.4没法安装sphinx扩展

PHP5.4没法安装sphinx扩展

WBOY
WBOYOriginal
2016-06-13 13:12:05823browse

PHP5.4无法安装sphinx扩展
centos6.2 64位 环境

我安装了coreseek后 sphinx可以正常运行
我安装sphinx的扩展成功了 
sphinx.so已经在/usr/local/php5.4/lib/php/extensions/no-debug-non-zts-20100525目录下
php.ini里面我已经添加 extension=sphinx.so
可是在phpinfo里面始终找不到sphinx扩展

有谁知道原因吗??

------解决方案--------------------
还要手动复制到PHP bin下。
重启apache即可。
还有你的apache使用最新版本。
------解决方案--------------------
在apache 里加上
extension_dir = /usr/local/php5.4/lib/php/extensions/no-debug-non-zts-20100525

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn