Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reflected needed changes for zabbix 5.x on el7/SCL php
Signed-off-by: Fabian Arrotin <arrfab@centos.org>
- Loading branch information
Showing
7 changed files
with
128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# Zabbix monitoring system php web frontend | ||
# | ||
|
||
Alias /zabbix /usr/share/zabbix | ||
|
||
<Directory "/usr/share/zabbix"> | ||
Options FollowSymLinks | ||
AllowOverride None | ||
Require all granted | ||
|
||
<IfModule dir_module> | ||
DirectoryIndex index.php | ||
</IfModule> | ||
|
||
<FilesMatch \.(php|phar)$> | ||
# SetHandler "proxy:unix:/var/opt/rh/rh-php72/run/php-fpm/zabbix.sock|fcgi://localhost" | ||
SetHandler "proxy:unix:/var/opt/rh/rh-php73/run/php-fpm/zabbix.sock|fcgi://localhost" | ||
</FilesMatch> | ||
</Directory> | ||
|
||
<Directory "/usr/share/zabbix/conf"> | ||
Require all denied | ||
</Directory> | ||
|
||
<Directory "/usr/share/zabbix/app"> | ||
Require all denied | ||
</Directory> | ||
|
||
<Directory "/usr/share/zabbix/include"> | ||
Require all denied | ||
</Directory> | ||
|
||
<Directory "/usr/share/zabbix/local"> | ||
Require all denied | ||
</Directory> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[zabbix] | ||
user = apache | ||
group = apache | ||
|
||
listen = /var/opt/rh/rh-php73/run/php-fpm/zabbix.sock | ||
listen.acl_users = apache | ||
listen.allowed_clients = 127.0.0.1 | ||
|
||
pm = dynamic | ||
pm.max_children = 50 | ||
pm.start_servers = 5 | ||
pm.min_spare_servers = 5 | ||
pm.max_spare_servers = 35 | ||
|
||
php_value[session.save_handler] = files | ||
php_value[session.save_path] = /var/opt/rh/rh-php73/lib/php/session/ | ||
|
||
php_value[max_execution_time] = 300 | ||
php_value[memory_limit] = 128M | ||
php_value[post_max_size] = 16M | ||
php_value[upload_max_filesize] = 2M | ||
php_value[max_input_time] = 300 | ||
php_value[max_input_vars] = 10000 | ||
php_value[date.timezone] = Etc/UTC | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
zabbix_server_pkgs: | ||
- zabbix-server-mysql | ||
- zabbix-web | ||
- zabbix-web-mysql-scl | ||
- zabbix-web-deps-scl | ||
- zabbix-apache-conf-scl | ||
- zabbix-get | ||
- bind-utils | ||
|
||
zabbix_php_pkgs: | ||
- rh-php73 | ||
- rh-php73-php-bcmath | ||
- rh-php73-php-fpm | ||
- rh-php73-php-gd | ||
- rh-php73-php-ldap | ||
- rh-php73-php-mbstring | ||
- rh-php73-php-xml | ||
- rh-php73-php-mysqlnd | ||
|