Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 711170

Summary: www-apps/icingaweb2 requires PHP 7.2 and breaks with PHP 7.4 being activated automatically after emerge:ViewStream::stream_set_option is not implemented
Product: Gentoo Linux Reporter: onkobu
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED CANTFIX    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description onkobu 2020-03-01 14:15:16 UTC
Recently I updated @world and got new PHP version 7.4. The same machine runs icingaweb2 which is not compatible with PHP 7.4 yet. (https://github.com/Icinga/icingaweb2/issues/4031)

Simple eselect php set apache2 <num>'' with <num> being the 7.2-version (eselect php list apache2) solves the problem with ease.

I'm not sure how this could be solved automatically, since Apache could run anything requiring any version of PHP. Should this be part of Wiki page? I could create it.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-02 15:40:24 UTC
I think all that we can enforce via packaging is that you have a version of php that works with icingaweb2 installed, not that it's active.  We are already doing that in the package dependencies so I'm going to close this.  If it's not part of the upstream docs (the versions of php supported) then that's where it should be.