Reputation: 391
I've installed LAMP on Ubuntu 14.04 and then php5-json module. It seems to be installed because it's situated on list of modules on phpinfo() page.
But function_exists("json_encode")
returns false
UPDATE:
I solved this problem by editing file which path is marked below:
Upvotes: 2
Views: 2437
Reputation: 809
Two ideas coming to my mind :
Restart your server after the module installation ?
Check your php.ini and look for a line which looks like :
extension=json.so
Upvotes: 2