Sphinx PHP代码错误,第//行不存在?

Sphinx PHP代码错误,第//行不存在?,sphinx,Sphinx,当我尝试运行斯芬克斯索引器时 /usr/bin/indexer --rotate --all 我得到这个错误 using config file '/etc/sphinx/sphinx.conf'... ERROR: invalid section type 'Strict' in /etc/sphinx/sphinx.conf line 1617 col 8. ERROR: invalid section type 'Strict' in /etc/sphinx/sphinx.conf li

当我尝试运行斯芬克斯索引器时

/usr/bin/indexer --rotate --all
我得到这个错误

using config file '/etc/sphinx/sphinx.conf'...
ERROR: invalid section type 'Strict' in /etc/sphinx/sphinx.conf line 1617 col 8.
ERROR: invalid section type 'Strict' in /etc/sphinx/sphinx.conf line 1617 col 1.
FATAL: failed to parse config file '/etc/sphinx/sphinx.conf'
当我检查sphinx.conf时,没有第1617行。最后一行代码是1373。有人能告诉这个新手我做错了什么,我如何调试一个不存在的行吗


谢谢

听起来你有一个动态配置文件?ie包含嵌入式PHP代码

如果是这样的话,试着自己运行配置文件,然后检查它

php /etc/sphinx/sphinx.conf > /tmp/sphinx.conf

cat -n /tmp/sphinx.conf | grep 1617 -C10

ie sphinx在生成的输出中查找错误,而不是原始代码

Abd它是如何与
php
连接的?您能粘贴
ls-ln/etc/sphinx
的输出吗?