Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've installed the sphinx extensions via pecl on ubuntu 8.04

however, after restarting apache, my php program says that SphinxClient hasn't been found I looked at phpinfo() output and its not there.

I've looked at where extension_dir is set to and the sphinx.so is there

any idea why it won't load?

php version is PHP Version 5.2.4-2ubuntu5.10

share|improve this question

1 Answer 1

ok found the answer

turns that instead of adding: extension=sphinx.so

under "Dynamic Extension" in the php.ini,

you need to create a file in /etc/php5/cgi/conf.di called sphinx.ini with the line


now works

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.