Icingaweb2
Guido Falsi
mad at madpilot.net
Sun Sep 27 17:05:44 UTC 2020
On 27/09/20 18:06, Xavier Humbert wrote:
> Hi,
>
> pkg update broke icingaweb2 :
> * it upgraded php73 to php74, which at first glance is not a problem
> * deleted blindly icingaweb2 without noticing that icingaweb2-php74 was
> present
>
> So I reinstalled manually icingaweb2-php74, and when launching the
> browser, I got the (in)famous
>
>> Call to undefined function Icinga\Util\json_encode()
> However :
>
>> [root at aragorn ~]# pkg info php74-json
>> php74-json-7.4.10
>> [root at aragorn ~]# php -m | grep json
>> json
>> [root at aragorn ~]# php phpinfo.php | grepjson
>> json
>> json support => enabled
> I ran into the very same problem when updated from php72 to php73, but
> can't remember how I fixed it
>
> Someone can help, please ?
Ideas from the top of my head:
- did you restart php-fpm?
- check php-fpm config, is json support enabled there too?
--
Guido Falsi <mad at madpilot.net>
More information about the freebsd-ports
mailing list