SELinux operates in the "enforcing" mode by default.
$ Sestatus-Vselinux status: enabledselinuxfsMount:/Selinuxcurrent mode: enforcingmode from configFile: Enforcingpolicy version:24Policy from configFile: Targeted
In "enforcing" mode, Zend server CE may run incorrectly. During installation, you must switch to "Permissive" mode.
# Setenforce permissive
But this requires manual execution after each boot. We can modify SELinux configuration to achieve automatic switching.
#Cat/Etc/SELinux/Config # ThisFileControls the state of SELinux on the system. # SELinux=Can take one of these three values: # enforcing-SELinux security policy is enforced. # permissive-SELinux prints warnings instead of enforcing. # disabled-No SELinux policy is loaded. SELinux=Permissive # selinuxtype=Can take one of these two values: # targeted-Targeted processes are protected, # MLS-Multi level security protection. selinuxtype= Targeted
reference: Switch SELinux "enforcing" mode to "Permissive" mode