Skip to content

Commit f27f7dc

Browse files
fcoelhoepriestley
authored and
epriestley
committedApr 14, 2014
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
1 parent 47245b1 commit f27f7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/install/install_rhel-derivs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ then
7272
YUMCOMMAND="$SUDO yum install httpd git php53 php53-cli php53-mysql php53-process php53-devel php53-gd gcc wget make pcre-devel mysql-server"
7373
else
7474
# RHEL 6+ defaults with php 5.3
75-
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"
75+
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"
7676
fi
7777

7878
echo "Dropping to yum to install dependencies..."

0 commit comments

Comments
 (0)
Failed to load comments.