Possible Duplicate:
Enable json_decode() on my systemIm trying to use json with php and i keep getting the error
"PHP Fatal error: Ca
. I am using php version 5.3.6 and on phpinfo(); nothing mentions json. Any suggestions? (using freeBSD)
ll to undefined function json_encode()"
Answer
Install pear-Services_JSON
with:
pkg_add -r pear-Services_JSON
Attribution
Source : Link , Question Author : Jonah Katz , Answer Author : quanta