mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
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
This commit is contained in:
parent
47245b1b59
commit
f27f7dce52
1 changed files with 1 additions and 1 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue