Forums

[Wordpress Sphinx Plugin] Sphinx plugin doesn't work (6 posts)

  1. madaboutlinux
    Member
    Posted 4 months ago #

    Hello,

    I have activated the Sphinx plugin and followed the Configuration Wizard but for some reason, the indexer and searchd cannot parse the sphinx.conf file. I have already tried a few solutions like,

    compiling PHP again
    permissions
    changing the wp_posts and wp_comments queries in the sphinx.conf

    but no luck. Following is the error I receive:

    using config file '/home/<username>/public_html/wp-content/uploads/sphinx/sphinx.conf'...
    ERROR: error executing '/usr/bin/php -q' in /home/<username>/public_html/wp-content/uploads/sphinx/sphinx.conf line 1 col 1.
    FATAL: failed to parse config file '/home/<username>/public_html/wp-content/uploads/sphinx/sphinx.conf'

    This is a cPanel server with SuPHP enabled.

    Regards.

  2. madaboutlinux
    Member
    Posted 4 months ago #

    anyone please? it's a little urgent.

  3. Yaroslav Vorozhko
    Member
    Posted 4 months ago #

    Make sure this file exists '/home/<username>/public_html/wp-content/uploads/sphinx/sphinx.conf'
    and sphinx installed correctly at '/home/<username>/public_html/wp-content/uploads/sphinx/bin

    Also, make sure that path to php is correct, on some system it is /usr/local/bin/php

    Most problems with WP Sphinx plugin related to hosting plan.
    I.e. it is not always working good on shared hosting.
    What is you hosting plan?
    Do you have ssh access to it?

  4. madaboutlinux
    Member
    Posted 4 months ago #

    Thanks for replying..

    The path to sphinx configuration as well as to bin directory is correct. PHP is working from /usr/bin/php for sure as the websites are using the same path.

    Mine is a Dedicated server and have root access.

    Please share some more thoughts on this..

  5. Ivinco
    Member
    Posted 4 months ago #

    Hello madaboutlinux

    Please send your /home/<username>/public_html/wp-content/uploads/sphinx/sphinx.conf' to opensource@ivinco.com

  6. madaboutlinux
    Member
    Posted 4 months ago #

    Hello Ivinco

    Thank you for your reply. I have emailed you the configuration file.

Reply

You must log in to post.

About this Topic