From 8c114394e30454600f42636463dbb1211f4a47ac Mon Sep 17 00:00:00 2001 From: lesha Date: Thu, 2 Jan 2014 11:59:11 -0800 Subject: [PATCH] Enable Evil^H^H^H^HJSON for PHP on Ubuntu 13.10 Summary: Good news. Starting with Ubuntu 13.10, Phabricator can legally be used by evil dictators, mad scientists, and toxic derivative creators. The JSON implementation prohibiting evil (http://www.phoronix.com/scan.php?page=news_item&px=MTQ0MTY) was ripped out and replaced by the Evil-friendly PHP license: https://github.com/remicollet/pecl-json-c/blob/master/LICENSE Test Plan: ran the shell script, Phabricator no longer fails with "Call to undefined function json_decode". Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7878 --- scripts/install/install_ubuntu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install/install_ubuntu.sh b/scripts/install/install_ubuntu.sh index 3725673ae1..e736b7128f 100755 --- a/scripts/install/install_ubuntu.sh +++ b/scripts/install/install_ubuntu.sh @@ -43,7 +43,9 @@ echo set +x sudo apt-get -qq update -sudo apt-get install $GIT mysql-server apache2 php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli dpkg-dev +sudo apt-get install \ + $GIT mysql-server apache2 dpkg-dev \ + php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli php5-json # Enable mod_rewrite sudo a2enmod rewrite