By default, SELinux does not allow inter-process communication, which prevents the Atatus PHP agent from collecting data. To allow the agent to collect data, you can either disable SELinux or modify the SELinux policies. The specific steps to modify SELinux policies will depend on your configuration.
Permanently Disable SELinux
Open the SELinux configuration file:
/etc/selinux/config
.Locate the SELINUX parameter in the file and change its value to
disabled
. For example:SELINUX=disabled
Save and close the file.
Restart the webserver (fpm/nginx/apache).
Temporarily Disable SELinux
If you want to temporarily disable SELinux without rebooting, you can run the following command as root or with sudo privileges
sudo setenforce 0
If you reboot the system, SELinux is automatically enabled by default.