grayloon

Well-Known Member
Oct 31, 2007
121
4
68
Evansville, IN
cPanel Access Level
Root Administrator
Twitter
We use a 3rd-party host (Platform.sh) for some of our sites. They provide their own CLI utility as a phar file. On my cPanel server, I'm using cron to call a bash script that's executing the platform.sh commands. When the initial command is executed, it kicks off a php process. Unfortunately, there are some child processes that run as php-cgi, and the platform.sh utility hangs. Is there a way to force a command to execute as php-cli vs. php-cgi? I'd like to keep using PHP-FPM on my cPanel server.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello @grayloon,

Does it make a difference if you update the command to use /usr/local/bin/ea-php72 as the PHP binary path?

Thank you.