Date: Sun, 27 Sep 2020 19:05:33 +0200 From: Guido Falsi <mad@madpilot.net> To: Xavier Humbert <xavier@groumpf.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Icingaweb2 Message-ID: <9ab0500d-1e3b-0d7a-cc77-b5764730fac6@madpilot.net> In-Reply-To: <1a79bb57-ff2b-23d3-7318-fd33bd7f7834@groumpf.org> References: <1a79bb57-ff2b-23d3-7318-fd33bd7f7834@groumpf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@aragorn ~]# pkg info php74-json >> php74-json-7.4.10 >> [root@aragorn ~]# php -m | grep json >> json >> [root@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@madpilot.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ab0500d-1e3b-0d7a-cc77-b5764730fac6>