CSV Importer and PHP CLI path

So I’m getting the error that other have had. But when I check my hosting they inform me that:
Path to PHP
/usr/local/bin/php
If I add this info the the config.ini
background.php.path = “/usr/local/bin/php-cli”
or
background.php.path = “/usr/local/bin/php”

I still get the php-cli path error.

Any ideas?

I have multiple hosting services. So I tried this on both services, different path depending on the hosting service, and I’m getting the error on both sites.

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

If I run php -v from the path I see that php is indeed there 7.2.31 (cli)

Am I missing something?

Thanks