If the ./configure script generated by
phpize is having trouble finding the libsphinxclient
files (for example, it was installed into a custom prefix directory), use
./configure --with-sphinx=$PREFIX, where $PREFIX is
installation prefix of libsphinxclient.