[php-maint] Bug#710808: libapache2-mod-php5: json_decode function not found, but should be built in

Alan Chandler alan at chandlerfamily.org.uk
Sun Jun 2 16:02:47 UTC 2013

Package: libapache2-mod-php5
Version: 5.5.0~rc2+dfsg-2
Severity: important

Dear Maintainer,

I have some working php code which calls json_decode.  Just upgraded to php5.5 and now when it runs, it fails 

Fatal error: Call to undefined function json_decode()

I thought json_decode() should be built in

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapache2-mod-php5 depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.4-5
ii  libbz2-1.0                          1.0.6-4
ii  libc6                               2.17-3
ii  libcomerr2                          1.42.5-1.1
ii  libdb5.1                            5.1.29-5
ii  libgssapi-krb5-2                    1.10.1+dfsg-6
ii  libk5crypto3                        1.10.1+dfsg-6
ii  libkrb5-3                           1.10.1+dfsg-6
ii  libmagic1                           1:5.14-2
ii  libonig2                            5.9.1-1
ii  libpcre3                            1:8.31-2
ii  libqdbm14                           1.8.78-2
ii  libssl1.0.0                         1.0.1e-3
ii  libstdc++6                          4.8.0-9
ii  libxml2                             2.8.0+dfsg1-7+nmu1
ii  mime-support                        3.54
ii  php5-common                         5.5.0~rc2+dfsg-2
ii  tzdata                              2013c-2
ii  ucf                                 3.0027
ii  zlib1g                              1:1.2.8.dfsg-1

Versions of packages libapache2-mod-php5 recommends:
ii  php5-cli  5.5.0~rc2+dfsg-2

Versions of packages libapache2-mod-php5 suggests:
ii  php-pear  5.5.0~rc2+dfsg-2

-- no debconf information

More information about the pkg-php-maint mailing list