json - PHP Fatal error: Call to undefined function json_decode() in Xampp -


i'm using xampp run php file using brackets. got error:

php fatal error: call undefined function json_decode() in xampp

i don't know if related checked php info file , there no disabled files. in json section says support enabled, json version 1.4.0. in ini file searched json couldn't find anything.

how can resolve error?

if on ubuntu use following command in command line shell

sudo apt-get install php5-json 

if on windows, edit php.ini , enable json extension.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -

Voice chat over bluetooth between Android & Python (pybluez) -