Fixing Background PHP Path for Omeka/Omeka S

Some plugins for Omeka and Omeka S, such as the CSV Import, Neatline and OHMS 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.

There, in the PHP Version column, you’ll see something along the lines of PHP 8.1 (ea-php81), which means you are using PHP 8.1. 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.3 → /usr/local/bin/ea-php73
  • PHP 7.4 → /usr/local/bin/ea-php74
  • PHP 8.0 → /usr/local/bin/ea-php80
  • PHP 8.1 → /usr/local/bin/ea-php81

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?
2 out of 3 found this helpful

Articles in this section

See more
Reclaim Hosting Support Hours
8:00 am - 5:00 pm ET, Monday through Friday
Submit a Ticket
Get a quick and helpful response from the pros.
Need Extra Support?
No problem, we're here to help! Talk to us about Professional Services or custom Service Level Agreements.