LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2016, 04:43 PM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
PHP json woes with Owncloud after upgrade to Debian Jessie


I did an update to Jessie and now Owncloud is not working anymore.
When I check the error log, I see this error:
Call to undefined function json_encode

When checking if php5-json is installed, I see that, yes, it is.
When reinstalling php5-json, dpkg / apt-get tells me:
php5_invoke: Enable module json for apache2 SAPI

But I see no indication that it is.
php -i | grep json
comes back empty, not one entry mentioned in php.ini about json.

I'm very unexperienced in troubleshooting apache and php issues, so I might be missing an important detail here.
I know that Debian changed some policies concerning php json in Jessie, due to legal reasons. Can it be that Owncloud will no longer work on Jessie?
 
Old 04-01-2016, 04:45 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
I would try to remove php5-json, restart the server then re-install it and restart the server again. Debian based distros usually add the necessary entries in the config files.
 
Old 04-03-2016, 07:51 PM   #3
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Original Poster
Rep: Reputation: 56
That did not work. I even purged php5-json and that did nothing, the config files are still not there. I also wiped out the whole Apache server and did a complete fresh reinstall and no dice.
Is there a way to monitor what a package installs and why it is not putting these files there?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to install PHP 7 as PHP-FPM & FastCGI for ISPConfig 3 on Debian 8 (Jessie) LXer Syndicated Linux News 0 12-03-2015 04:22 PM
LXer: How to install PHP 7 (PHP-FPM & FastCGI) for ISPConfig 3 on Debian 8 (Jessie) LXer Syndicated Linux News 0 07-16-2015 03:11 PM
LXer: How to install ownCloud 8 on Debian 8 (Jessie) LXer Syndicated Linux News 0 07-02-2015 10:20 AM
Upgrade Debian Wheezy to Jessie. hack3rcon Debian 3 04-20-2015 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration