Well-Known Member
Oct 31, 2007
Evansville, IN
cPanel Access Level
Root Administrator
We use a 3rd-party host ( 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 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 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.