[Resolved] [Plugin: WordPress Sphinx Search Plugin] ERROR: error executing '/usr/bin/php -q'
I’m setting up a mirror to my main WP site. Sphinx works on the main site but fails to start on the mirror site. Both sites are on Debian/Linux servers.
When I attempt to start searchd from the command line I get:
ERROR: error executing '/usr/bin/php -q' in /home/.../wp-content/uploads/sphinx/etc/sphinx.conf line 1 col 1. FATAL: failed to parse config file '/home/.../wp-content/uploads/sphinx/etc/sphinx.conf'
(The … is to obscure the path in this post. The actual error message has the right path.)
This is with the exact same ‘sphinx.conf’ file that works fine on the main site.
I have tested whereis php and it is at /usr/bin/php.
I have run this with /usr/bin/php5 -q and get the same result.
I have installed sphinx 2.0.4 separately, and also can not start it with either the above config file or with the supplied test config file.
I have executed sphinx.conf. I get no output from the standard file, but get a test output when I insert an echo line into sphinx.conf for test purposes, so php-cli appears to be working fine.
This seems to be an recurring issue for this plugin. I have read all of the previous related topics and done a lot of google searching and have yet to find a solution. I am hoping that one of the Ivinco guys has some ideas beyond those already in the previous topics since I have already run through those.
Looking forward to some help.
- The topic ‘[Resolved] [Plugin: WordPress Sphinx Search Plugin] ERROR: error executing '/usr/bin/php -q'’ is closed to new replies.