Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

extension=sphinx.so

now works

share|improve this answer

Your Answer

 
discard

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