[ZBX-18837] PHP 7.2 SCL is retired at Nov 2020 in RHEL7 Created: 2021 Jan 05 Updated: 2024 Apr 10 Resolved: 2021 Feb 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Packages (C) |
Affects Version/s: | 5.0.7 |
Fix Version/s: | 5.4 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Yuuki Enomoto | Assignee: | Jurijs Klopovskis |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Red Hat Enterprise Linux 7, CentOS 7 |
Team: | |
Sprint: | Sprint 72 (Jan 2021), Sprint 73 (Feb 2021) |
Story Points: | 1 |
Description |
zabbix-web-deps-scl package depends rh-php72 software collenctions but this SCL is past its retirement date Nov 2020. |
Comments |
Comment by Jurijs Klopovskis [ 2021 Jan 05 ] |
Seems doable, but will require a new set of frontend related *-scl packages to be created specifically with php73. Current ones must be kept for backwards compatibility. CONFIRMED |
Comment by Jurijs Klopovskis [ 2021 Jan 19 ] |
Packages with support for rh-php73 will be available in 5.0.8 release. Documentation pending. |
Comment by Jurijs Klopovskis [ 2021 Jan 27 ] |
Update instructions:Update to 5.0.8 and check for new packages. # yum search zabbix-web ... zabbix-web-deps-scl.noarch : Convenience package for installing php dependencies of zabbix-web package from redhat software collections zabbix-web-deps-scl-php73.noarch : Convenience package for installing php dependencies of zabbix-web package from redhat software collections zabbix-web.noarch : Zabbix web frontend common package zabbix-web-japanese.noarch : Japanese font settings for Zabbix frontend zabbix-web-mysql-scl.noarch : Zabbix web frontend for MySQL (scl version) zabbix-web-mysql-scl-php73.noarch : Zabbix web frontend for MySQL (scl version) zabbix-web-pgsql-scl.noarch : Zabbix web frontend for PostgreSQL (scl version) zabbix-web-pgsql-scl-php73.noarch : Zabbix web frontend for PostgreSQL (scl version) Install zabbix-web-mysql-scl-php73 or zabbix-web-pgsql-scl-php73 package. yum install zabbix-web-mysql-scl-php73 or yum install zabbix-web-pgsql-scl-php73 Edit /etc/opt/rh/rh-php73/php-fpm.d/zabbix.conf file. listen.acl_users = apache,nginx Set you timezone. ; php_value[date.timezone] = Europe/Riga Update web server configuration. For apache, edit /etc/httpd/conf.d/zabbix.conf file. Configure appropriate php-fpm socket. # 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" Do similar configuration in /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf, if nginx is used. # fastcgi_pass unix:/var/opt/rh/rh-php72/run/php-fpm/zabbix.sock fastcgi_pass unix:/var/opt/rh/rh-php73/run/php-fpm/zabbix.sock Stop and disable old rh-php72-php-fpm service. systemctl stop rh-php72-php-fpm systemctl disable rh-php72-php-fpm Start and enable new rh-php73-php-fpm service. systemctl start rh-php73-php-fpm systemctl enable rh-php73-php-fpm Restart the web server systemctl restart httpd or systemctl restart rh-nginx116-nginx Remove old rh-php72 packages. yum remove rh-php72* UPDATE: Added to the main documentation https://www.zabbix.com/documentation/5.0/manual/installation/frontend/frontend_on_rhel7/php73#overview |
Comment by Yuuki Enomoto [ 2021 Jan 28 ] |
@Jurijs Klopovskis Thank you for your works! |