I have a script that executes a file in a couple of directories down which looks like this:
exec(\"php-cli $file_path > /dev/null 2>/dev/null &\"); //p
It depends on how the PHP-CLI binary is compiled. On most systems the executable is named just 'php' and I guess that the hosts that have 'php-cli' have it compiled by hand, while most of the others have it installed via the OS package manager.
You have two options to work around that and make it "universal":