是否可以在安装完 php、mysql 等之后再安装 Sphinx?
我很困惑
安装 Sphinx 搜索时顺序是否重要。如果我的服务器上已经安装了 mysql,我还能在之后安装 sphinx 还是必须先安装它们还是先安装 sphinx?
I'm confused
Does order matter when installing Sphinx Search. If mysql was already installed on my server, can I still install sphinx after or do I have to do them together or Sphinx before?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您要在 MySQL 中使用 SphinxSE 引擎,则需要重新编译 MySQL 以包含该引擎。
请参阅手册的这一部分: http://www.sphinxsearch .com/docs/manual-0.9.9.html#sphinxse-mysql50。我们没有使用SphinxSE引擎,我们只是使用了PHP api客户端,并且是在安装了Apache/PHP/MySQL之后安装的。
您需要自己编译 Sphinx,但我提供的手动链接中给出了该方法。
If you're going to use the SphinxSE engine in MySQL, you will need to recompile MySQL to include the engine.
Refer to this part of the manual: http://www.sphinxsearch.com/docs/manual-0.9.9.html#sphinxse-mysql50. We didn't use the SphinxSE engine, we just used the PHP api client, and that we installed after having Apache/PHP/MySQL installed.
You will need to compile Sphinx yourself, but the method is given in that manual link I provided.
它不仅仅是一个 PHP 类...还有一个搜索守护进程和索引器也必须在服务器上运行 - 但是是的 - 它通常是在安装 mysql 之后安装的。
It's more than just a PHP class... there's a search daemon and indexer that have to run on the server as well - but yes - it's often installed after mysql is already installed.
是的,你绝对可以安装 Sphinx。
典型的 Sphinx 客户端 API - 它只是一个 PHP 类。
Yes, definitely you can install Sphinx after all.
The typical Sphinx client API - it's just a PHP class.