E
E
Evgeny Plotnikov2013-11-16 14:13:34
PHP
Evgeny Plotnikov, 2013-11-16 14:13:34

Php5.5: The json extension is missing?

The situation is as follows:
Installed php5 (5.5.3) in Ubuntu 13.10 (apt-get install php5-fpm). Everything was installed fine
. When I open phpmyadmin, I get: The json extension is missing. Please check your PHP configuration.
I'm aware that json is deprecated in php5.5 due to licensing issues, but how do I get json to work if:

[email protected]:$ sudo apt-get install php5-json
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-json is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

and also
[email protected]:$ sudo php -m
[PHP Modules]
...
iconv
json
libxml
...

Answer the question

In order to leave comments, you need to log in

6 answer(s)
L
LastDragon, 2013-11-16
@evgenx

http://habrahabr.ru/post/198312/

A
Artur, 2013-11-16
@kovalevsky

if you just installed, then try restarting the web server.
sudo service apache2 reload or
sudo service apache2 restart

H
hell, 2013-11-16
@hell

and check in etc/php5...conf.d if the extension is linked

M
Masterme, 2013-11-16
@Masterme

Recently ran through a similar question, look through. I decided, it seems, by installing a separate package (there is one in bubuntu)

V
Vyacheslav Plisko, 2013-11-18
@AmdY

As mentioned above, you need to create links, the shared folder with /etc/php5/conf.d/ has ceased to be picked up. Also for apache, sites are no longer picked up if the config does not end with .conf

J
jamesmalvi, 2015-04-03
@jamesmalvi

One of the best tools for JSON is codebeautify.org/jsonviewer JSON formatter, JSON validator, JSON minify, JSON to XML, JSON to CSV

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question