Hey thanks for the quick reply. There's some major software out there, such as SugarCRM that has admin docs that refer to setting up cron events with php-cli. This EA4 migration is going to cause a lot of headaches for admins.Hi,
The PHP wrapper for EA4 points to php-cgi. If this won't work for you, you'll need to point it directly to the full SCL binary:
This should work for you. Let me know how it goes.
I'm running EA4(fresh 58 install on CentOS 7) and can execute php just fine, under root or as an user, on command line and cron.This also seems to be the case whether you try to execute php-cgi or just php from the command line. It gives you input file not found.
Maybe then you not running a completely stock/default configuration? EA4 installs 3 versions of PHP. So when you execute php from the command line, how does it know which version to run without specifying the path? You have obviously a configuration different from the stock setup. Or maybe it has to do with difference between Centos 6 and Centos 7? Upon switching to EA4, most if not all users will get the following output when trying to run php to execute a script from the command line:
Could you let us know if the EasyApache 4 and the ea-php-cli Package - EasyApache 4 - cPanel Documentation document helps to address this concern?Hey thanks for the quick reply. There's some major software out there, such as SugarCRM that has admin docs that refer to setting up cron events with php-cli. This EA4 migration is going to cause a lot of headaches for admins.
|Thread starter||Similar threads||Forum||Replies||Date|
|E||PHP CLI Memory Limit||Web Servers and Applications||3|
|A||PHP-CLI has maximum execution time clamped at 300 seconds||Web Servers and Applications||2|
|G||PHP CLI Account Level INI Settings||Web Servers and Applications||1|
|B||Unable to update EasyApache4 ("ea-php-cli is already installed")||Web Servers and Applications||13|
|I||How to get Apache and CLI to use the same PHP version?||Web Servers and Applications||1|