Tuesday, July 15, 2008

JSON not working in PHP5?

If you are using PHP5 and JSON isn't working, and you compiled it or used a package manager the following switch may have been on --disable-all. To check do a phpinfo(); on your page and check. If it is on you need to recompile, without that switch. In FreeBSD you do that by editing the make file and taking out that line.

No comments: