Thread:Project:Support desk/Fatal: PHP was compiled without JSON support

http://wikinfo.org/x/Nihon/mw-config/index.php?page=Welcome

I'm getting the message: "Fatal: PHP was compiled without JSON support. You must install either the PHP JSON extension or the PECL jsonc extension before installing MediaWiki." while trying to install 1.22 but php -i returns json

json support => enabled json version => 1.3.1 JSON-C headers version => 0.11 JSON-C library version => 0.11

I did install json after getting the first error message:

apt-get install php5-json Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: php5-json 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 19.8 kB of archives. After this operation, 119 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe php5-json amd64 1.3.1+dfsg-2 [19.8 kB] Fetched 19.8 kB in 0s (65.1 kB/s) Selecting previously unselected package php5-json. (Reading database ... 159262 files and directories currently installed.) Unpacking php5-json (from .../php5-json_1.3.1+dfsg-2_amd64.deb) ... Setting up php5-json (1.3.1+dfsg-2) ... php5_invoke: Enable module json for cli SAPI php5_invoke: Enable module json for apache2 SAPI

but I still get the error message

I did not, and do not, get this message with 1.21.2

http://wikinfo.org/x/1.21.2/mw-config/index.php?page=Welcome