首页 文章

phpMyAdmin - 错误缺少json扩展名

提问于
浏览
3

我已经安装了Ubuntu PHP,MySQL,apache和phpmyadmin . 当我尝试通过浏览器phpmyadmin打开时,我收到此错误

phpMyAdmin - 错误缺少json扩展名 . 请检查您的PHP配置 .

有很多类似的线程,我已经尝试了很多解决方案,但没有一个帮助我解决这个问题 . 首先,我尝试安装此扩展名,如 sudo apt-get install php5-json ,这是结果

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 13 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up javascript-common (11) ...
dpkg: error processing package javascript-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
javascript-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

显然我有最新版本的php5-json - php5-json is already the newest version. 这是我的Ubuntu版本

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

但我不知道如何修复错误?

1 回答

相关问题