Could your server have more than one php.ini file?
Jul 24, 2018
10
Level 15
Error: JSON extension missing from PHP 7.2
I have installed Laravel 5.6 on Linux Mint 18, which essentially is Ubuntu 16.04LTS core, and when I go to a view, I get:
PHP's json extension is required to use Monolog's NormalizerFormatter
Ok - so I have added extension= json.so to my php.ini file and do an Apache restart. This does not help.
Ok, so I run sudo apt-get install php7.2-jsonand do an Apache restart. This does not help.
Ok, so I run phpenmod json and I get Module json ini file doesn't exist under /etc/php/7.2/mods-available.
Ok - so I check my phpinfo:
json support => enabled
json version => 1.6.0
So - you might imagine that I am absolutely flummoxed as to what might be going on. Any ideas?
Many Thanks !!
Please or to participate in this conversation.