I have a Apache, MySQL, and PHP running drupal on my Mac 10.6.8. I am trying to install Sphinx as well, but I am getting an error when running the php indexing scripts. I am pretty sure that the scripts are not indexing my mysql tables because they cannot get past the line drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

Here is the PHP script I am trying to run:

<?php
// chdir('/mnt/data-files/www/public_html');
error_reporting(E_ALL);
chdir('/Users/ftb/Sites/');
include_once './dw.com/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
include_once './dw.com/sites/all/modules/custom/common/sphinx.inc';
sphinx_appname_index();

Does anyone have any experience setting up Sphinx on a Mac? Or bootstrapping?

link|improve this question

feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.