I have a php script that generates an selinux avc denial when it tries to exec a bash script.
Here is the alert:
SELinux is preventing /usr/bin/bash from execute access on the file /opt/cps/rcm/upsample.
You can generate a local policy module to dontaudit this access.
# grep /usr/bin/bash /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp