From f27f7dce528e77036b2de1e1a41db5b5f5b26073 Mon Sep 17 00:00:00 2001 From: Felipe Bessa Coelho Date: Mon, 14 Apr 2014 14:59:26 -0700 Subject: [PATCH] Install PHP mbstring extension on RHEL & friends Summary: The mbstring extension for PHP is not a dependency to any of the already listed packages on RHEL-like systems, and is needed by Phabricator (showing a "install mbstring" message as the first thing if it is not installed) RHEL seems to have some extra steps to allow php-mbstring to be installed, though: http://snippets.roozbehk.com/post/35750940300/php-mbstring-missing-on-red-hat-enterprise-linux-6 PS: disabled lint for this change because of the already >80 chars long "yum install" string Test Plan: * Created a new container with docker using both centos:6.4 and fedora:20 images * Ran install script * Started httpd and mysqld services * Browsed to server's address * Got error message * Installed php-mbstring & restarted httpd * Works Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D8772 --- scripts/install/install_rhel-derivs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/install_rhel-derivs.sh b/scripts/install/install_rhel-derivs.sh index 04e2552e2c..a09949f29b 100755 --- a/scripts/install/install_rhel-derivs.sh +++ b/scripts/install/install_rhel-derivs.sh @@ -72,7 +72,7 @@ then YUMCOMMAND="$SUDO yum install httpd git php53 php53-cli php53-mysql php53-process php53-devel php53-gd gcc wget make pcre-devel mysql-server" else # RHEL 6+ defaults with php 5.3 - YUMCOMMAND="$SUDO yum install httpd git php php-cli php-mysql php-process php-devel php-gd php-pecl-apc php-pecl-json mysql-server" + YUMCOMMAND="$SUDO yum install httpd git php php-cli php-mysql php-process php-devel php-gd php-pecl-apc php-pecl-json php-mbstring mysql-server" fi echo "Dropping to yum to install dependencies..."