Why some scripts go nuts with PHP on fcgi mode?

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,268
61
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
Hello! I'm running cPanel with EA3 and PHP 5.6.24 in fcgi mode in several servers. The majority of scripts and sites using WordPress and Joomla works perfectly ok when on fcgi.
But some marketing applications, like Sendy, arpReach or Mautic, go stall in this execution mode.

I found that by simply switching PHP back to cgi mode, they start to work automagically. I asked their authors and none of them have any clue for why they won't work at 100% when in fcgi mode. The 3 abovementioned applications has these things in common:
- They all are set to send emails using Amazon SES, so no local SMTP is executed (Remote SMTP is auth'ed via TLS).
- They require a cronjob set via cPanel to run their mail queues.
- They use a lot of curl calls. Maybe there is some limitation to this on fcgi mode?

Does anybody have some clues about this kind of issues?
Any recommended configuration besides simply activating fcgi in the PHP and suExec screen?

Thanks in advance!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
463
Hello,

Do you notice any output to /usr/local/apache/logs/error_log when this happens?

Thank you.