Fixing Background PHP Path for Omeka/Omeka S

Some plugins for Omeka and Omeka S, such as the CSV Import, will require that you explicitly specify the background PHP path in order to work properly, as these plugins require PHP-CLI. To find out what version of PHP your site is running on, start by checking the MultiPHP Manager in your cPanel 11.

There, in the PHP Version column, you’ll see something along the lines of PHP 7.2 (ea-php72), which means you are using PHP 7.2. This is the PHP version you’ll need to specify as the background.php path in your Omeka config files. The paths for the PHP versions we offer are as follows:

  • PHP 7.2 → /usr/local/bin/ea-php72
  • PHP 7.3 → /usr/local/bin/ea-php73
  • PHP 7.4 → /usr/local/bin/ea-php74

Omeka Classic

For Omeka Classic, the setting is named background.php.path and you’ll find it in: $OMEKA_ROOT/application/config/config.ini


Omeka S

For Omeka S, the setting is named phpcli_path and you’ll find it in: $OMEKA_S_ROOT/config/local.config.php


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request