|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59051 SphinxClient::setServer doesn't accept path to unix socket
Submitted: 2010-01-29 14:14 UTC Modified: 2010-12-01 15:28 UTC
From: andris dot zageris at inbox dot lv Assigned:
Status: Suspended Package: sphinx (PECL)
PHP Version: 5.2.6 OS: Ubuntu 9.04
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-01-29 14:14 UTC] andris dot zageris at inbox dot lv
It's impossible to connect to a sphinx search daemon using a 
unix socket (feature missing from pecl sphinx or maybe 
libsphinxclient?), but the pure PHP API accepts unix sockets:

Reproduce code:
$s = new SphinxClient;

Expected result:

Actual result:
"host name lookup failed (host=/tmp/searchd.sock, 
error=Connection timed out)"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-29 15:28 UTC] tony at daylessday dot org
Yes, this feature is missing in libsphinxclient in the first place.
Please report this to libsphinxclient (and Sphinx) authors.
 [2010-01-29 16:11 UTC] andris dot zageris at inbox dot lv
 [2010-12-01 15:28 UTC] andris dot zageris at inbox dot lv
libsphinxclient issue resolved:
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 19:01:25 2020 UTC