Setting the PHP-CLI path in Omeka

Some plugins including CSV Import and Neatline may need to execute code using the command-line version of PHP. If your plugin requires this it can be enabled by editing the file at application/config/config.ini and modifying the background.php.path = “” line to the following:

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

Editing files is easy within cPanel by using the File Manager.

Simply navigate to the folder location (application/config within your Omeka directory) and click the file and you’ll have the option for a code editor where you can find the line to edit:

 
When working with Omeka S you’ll need to be aware of the file changes. Omeka S requires that the path be changed within the config/local.config.php file. Change the line ‘phpcli_path’ => null, to ‘phpcli_path’ => ‘/usr/local/bin/php’ (note that if Omeka S is installed via Installatron on Reclaim Hosting this should be set for you already.
Was this article helpful?
1 out of 1 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.