Unable to configure production environment

In the production environment, after entering my email, passwords and captcha, I can’t move forward.
This is in Linux Red Hat.
Chmod 777 _lib -R applied
Chown apache:apache applied to CentinelBox (app)
the error msg is:
[11-Jun-2024 13:16:07 UTC] PHP Warning: file_put_contents(/var/www/html/CentinelBox/_lib/conf/prod.config.php): Failed to open stream: Permission denied in /var/www/html/CentinelBox/_lib/prod/lib/php/nm_ini_lib.php on line 152

I appreciate your help
Besto regards

Hi,
Problem solved: its an RED HAT issue

in 6.4. Ensuring the required state of SELinux by changing SELINUX to DISABELED

rgds