Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Today i have installed the xdebug packets. After installing them my phpmyadmin and different other softwares aren't working anymore. PhpMyAdmin gives this output: json extension is missing. First there was an other error displayed: mbstring extension is missing. I could fix this error by installing the zend-php-extensions. Im using Ubuntu 12.04 and the zend server for php5.2.

How can i install this extension?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Json is installed with PHP5.2

go to /etc/php5/mods-available/json.ini and uncomment priority=20 (remove the semicolon)

restart apache2 and it will be ok

share|improve this answer

I had this error today. After doing some search it turned out it was caused by my upgrade from Ubuntu 13.04 to 13.10.

The fix was simple: run "sudo apt-get install php5-json".

Then I restarted apache: "sudo service apache2 restart"

share|improve this answer
    
Yep that fixed it here. –  PedroMorgan Nov 8 '13 at 21:04
    
Yeah - this is the one for me too. –  Jason Hooks Nov 28 '13 at 0:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.