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 <m...@madpilot.net>
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to