I've run into an issue where enabling the PHP driver for MS SQL Server  causes Apache httpd to timeout after three minutes when started with systemd (
systemctl start httpd). Apache functions fine if started directly (
httpd -X). The systemctl error is:
Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
If I disable the PHP/MSSQL driver, the problem goes away.
This is RedHat 7.5 and SELinux is in "permissive" mode.
The linke below has relevant log files from running
echo $(date) && systemctl restart httpd. Date echoed was
Mon Jun 25 11:46:25 CDT 2018, so logs start at that point. Estimated failure time at 11:49:25 since it's been timing out 3 minutes after running
restart httpd. Note that there were no entries in the PHP error log, so that's not included. Apache
LogLevel set to
Since the logs above don't appear to show anything useful, I also ran
strace -ff -o /tmp/st2 -s 5000 systemctl start httpd. The output of the the six stack traced processes can be found here: https://gist.github.com/jamesmontalvo3/89f5e3897c1e2b71b68818215f220477. However, I also don't see any errors here.
How can I determine how to fix this without any useful error messages? Or is there something that I'm just missing?
I've posted this issue on the PHP/MSSQL driver's GitHub  and on the Apache mailing list .