Views: 5611
Last Modified: 22.03.2021
This installation version has centralized configuration storage: /etc/php.d
.
It requires such settings as a minimum:
- for the module opcache:
opcache.max_accelerated_files = 100000
opcache.revalidate_freq = 0
- add settings bitrexenv.ini:
display_errors = Off
error_reporting = E_ALL
error_log = '/var/log/php/error.log'
; Set some more PHP parameters
enable_dl = Off
short_open_tag = On
allow_url_fopen = On
# Security headers
mail.add_x_header = Off
expose_php = Off
...
All configuration files can be downloaded in archive . Config files for PHP are located in the folder as follows: redhat8/php.d
.
Place them in the directory /etc/php.d/
.