With some of these PHP scripts some more booleans need to be toggled. SEtroubleshoot interprets the denial incomplete.
What you should do is:
1. list you HTTPD booleans:
getsebool -a | grep httpd
Code:
allow_httpd_anon_write --> off
allow_httpd_mod_auth_ntlm_winbind --> off
allow_httpd_mod_auth_pam --> off
allow_httpd_sys_script_anon_write --> off
httpd_builtin_scripting --> off
httpd_can_network_connect --> off
httpd_can_network_connect_db --> off
httpd_can_network_relay --> off
httpd_can_sendmail --> off
httpd_dbus_avahi --> on
httpd_enable_cgi --> off
httpd_enable_ftp_server --> off
httpd_enable_homedirs --> off
httpd_execmem --> off
httpd_ssi_exec --> off
httpd_tty_comm --> off
httpd_unified --> off
httpd_use_cifs --> off
httpd_use_nfs --> off
2. Make sure the following 3 booleans are set to "on":
Code:
httpd_enable_cgi --> on
httpd_unified --> on
httpd_builtin_scripting --> on
With:
Code:
setsebool -P httpd_enable_cgi on
setsebool -P httpd_unified on
setsebool -P httpd_builtin_scripting on
So if you are running a PHP webapp, and setroubleshoot advices you to set httpd_unified 1, but it has no effect, then set the 3 booleans mentioned above.