RuntimeException with Derivative Images plugin

Hello everyone,

I installed the Derivative Images plugin on Omeka but can’t seem to make it work. I get the following error (I use a french interface):

Omeka a rencontré une erreur (Omeka has encountered an error)
RuntimeException
Le chemin vers PHP (/usr/bin/php) tel qu’il est configuré ne pointe pas vers le binaire PHP-CLI. (The path to PHP (/usr/bin/php) as configured does not point towards the binary PHP-CLI.)

exception ‘RuntimeException’ with message ‘Le chemin vers PHP (/usr/bin/php) tel qu’il est configuré ne pointe pas vers le binaire PHP-CLI.’ in /home/crialtin/public_html/memoire_musicale/application/libraries/Omeka/Job/Process/Dispatcher.php:124
Stack trace:
#0 /home/crialtin/public_html/memoire_musicale/application/libraries/Omeka/Job/Process/Dispatcher.php(93): Omeka_Job_Process_Dispatcher::_checkCliPath(’/usr/bin/php’)
#1 /home/crialtin/public_html/memoire_musicale/application/libraries/Omeka/Job/Process/Dispatcher.php(28): Omeka_Job_Process_Dispatcher::getPHPCliPath()
#2 /home/crialtin/public_html/memoire_musicale/application/libraries/Omeka/Job/Dispatcher/Adapter/BackgroundProcess.php(31): Omeka_Job_Process_Dispatcher::startProcess(‘Omeka_Job_Proce…’, Object(User), Array)
#3 /home/crialtin/public_html/memoire_musicale/application/libraries/Omeka/Job/Dispatcher/Default.php(150): Omeka_Job_Dispatcher_Adapter_BackgroundProcess->send(’{“className”:"D…’, Array)
#4 /home/crialtin/public_html/memoire_musicale/plugins/DerivativeImages/controllers/IndexController.php(23): Omeka_Job_Dispatcher_Default->sendLongRunning(‘DerivativeImage…’, Array)
#5 /home/crialtin/public_html/memoire_musicale/application/libraries/Zend/Controller/Action.php(516): DerivativeImages_IndexController->indexAction()
#6 /home/crialtin/public_html/memoire_musicale/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘indexAction’)
#7 /home/crialtin/public_html/memoire_musicale/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /home/crialtin/public_html/memoire_musicale/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#9 /home/crialtin/public_html/memoire_musicale/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#10 /home/crialtin/public_html/memoire_musicale/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#11 /home/crialtin/public_html/memoire_musicale/admin/index.php(28): Omeka_Application->run()
#12 {main}

Not sure how to fix this. Do note that Omeka is installed through Cpanel via Softaculous Apps Installer.
Thanks,
davidsensei

You need to ask your host if they have the PHP CLI binary available, and if they do, at what path it’s located.

When you have the path, you can set it in the file application/config/config.ini: it’s the setting background.php.path