1
PHP Installation and Configuration / Re: Local vs Server anomaly
« on: February 15, 2012, 03:26:30 PM »
Thanks for the reply. It got me thinking. However, the JSON decode php function should be working regardless because I has supplied the JSON formatted string in a variable for its server side use.
From that link, I stumbled on this. It could be my problem:
From that link, I stumbled on this. It could be my problem:
Quote
On one server I use (FreeBSD 6.3; PHP 5.2.6 as module in Apache 2.2.10), PHP was compiled with the '--disable-all' configuration option. Consequently, there exists a secondary configuration file -- /usr/local/php5/etc/extensions.ini -- in which the line
; extension=json.so
must be uncommented (delete the semicolon) and Apache restarted for these functions to be available.
