PHP 5.5 rc2 was recently uploaded to Debian unstable by Ondřej Surý. Along side the new PHP version and its features the PHP team has dealt with the JSON extension being non-free because of the “The Software shall be used for Good, not Evil” license (see debian #692613).
php5 (5.5.0~rc1+dfsg-1) experimental; urgency=low [...] * Add dfsg-repack.sh script to remove non-free JSON module (Closes: #692613) * Remove php5-json from Provides, since that's no longer true -- Ondřej Surý <ondrej@debian.org> Fri, 17 May 2013 14:41:41 +0200
A package with a DFSG replacement for the JSON extension is waiting in the NEW queue and should be available soon. The new JSON extension was done by Remi Collet (PHP developer and Fedora’s PHP maintainer). Review and patches are welcomed, code is available at https://github.com/remicollet/pecl-json-c . I hope the PHP project will adopt the solution, after claiming they won’t fix it themselves (see php.net #63520).
Nice cross-distro work 🙂
There is no such thing as immoral PHP code, its either well written or badly written.
Excellent, that solves a nasty bug!
It’s nice to know that if you create a machine that tortures kittens, you can still run Debian on it without getting licensing issues!
You’re welcome… but I’m sure people who would create such a machine wouldn’t care about copyright licenses.
Update: The free json extension is already available in Debian with php5-json package. This is the case for unstable since June 2013, and in testing since Aug 2013.
Pingback: Hello free PHP JSON extension | Free Software Universe
Pingback: Cara instalasi Laravel di Windows dan Linux Ubuntu | Catatan belajar komputer & internet
Pingback: Fatal error: Call to undefined function json_encode() | Saturngod
Pingback: Cara instalasi Laravel 4 di Windows dan Linux Ubuntu - Catatan Belajar