PDFText Error

At http://archive.vets4vetspsco.org/admin/plugins/config?name=PdfText

I am receiving the following error when running this plugin:

The configured PHP path (/usr/bin/php) does not point to a PHP-CLI binary.

#0 /home/duttond/public_html/archive/application/libraries/Omeka/Job/Process/Dispatcher.php(94): Omeka_Job_Process_Dispatcher::_checkCliPath('/usr/bin/php')
#1 /home/duttond/public_html/archive/application/libraries/Omeka/Job/Process/Dispatcher.php(28): Omeka_Job_Process_Dispatcher::getPHPCliPath()
#2 /home/duttond/public_html/archive/application/libraries/Omeka/Job/Dispatcher/Adapter/BackgroundProcess.php(31): Omeka_Job_Process_Dispatcher::startProcess('Omeka_Job_Proce...', Object(User), Array)
#3 /home/duttond/public_html/archive/application/libraries/Omeka/Job/Dispatcher/Default.php(150): Omeka_Job_Dispatcher_Adapter_BackgroundProcess->send('{"className":"P...', Array)
#4 /home/duttond/public_html/archive/plugins/PdfText/PdfTextPlugin.php(96): Omeka_Job_Dispatcher_Default->sendLongRunning('PdfTextProcess')
#5 /home/duttond/public_html/archive/application/libraries/Omeka/Plugin/Broker.php(145): PdfTextPlugin->hookConfig(Array)
#6 /home/duttond/public_html/archive/application/controllers/PluginsController.php(50): Omeka_Plugin_Broker->callHook(Array, Array)
#7 /home/duttond/public_html/archive/application/libraries/Zend/Controller/Action.php(516): PluginsController->configAction('config', Array, Object(Plugin))
#8 /home/duttond/public_html/archive/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#9 /home/duttond/public_html/archive/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch('configAction')
#10 /home/duttond/public_html/archive/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /home/duttond/public_html/archive/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /home/duttond/public_html/archive/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#13 /home/duttond/public_html/archive/admin/index.php(28): Omeka_Application->run()
#14 {main}

Do you have the PHP CLI binary installed? That's what this message is complaining about.

Here is what my host replied:

Hello,

The php cli binary is located at /usr/local/bin/php and not the path you currently have configured. I found that your software doesn't seem to have this location stored in a configuration file so I am not sure how to update it to use php at the correct location. You may need to contact the developer of your software to assist you with updating this information.

The path can be set in a configuration file, application/config/config.ini

The setting you want to change is background.php.path. It's initially set to blank, which makes Omeka try to guess what the right path is. You want to set it to the path your host gave you:

background.php.path = "/usr/local/bin/php"

Got it working! Thank you.