Reputation:
I'm running FreeBSD with PHP 5.4.3. I receive the error:
fatal error: call to undefined function json_decode()
I've install PHP 5.3.x and JSON has been ready for use afterwards. It's not a listed module when I run
php -m
Any ideas on how to install/load this module?
Upvotes: 1
Views: 3080
Reputation: 1909
Um, guys, when you are answering the question, please provide it as an ANSWER, so the question will show up as answered.
To reiterate, install the php5-json package or port.
Upvotes: 2