This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -p "MySQL Password: " rootpassword | |
yum update | |
# Apache php mysql mysql-server installing | |
echo "Installing httpd" | |
yum install -y httpd | |
echo "Installing MYSQL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
curl 'https://setup.ius.io/' -o setup-ius.sh | |
bash setup-ius.sh | |
yum remove -y php-cli mod_php php-common | |
yum install -y mod_php71u php71u-cli php71u-mysqlnd php71u-xml php71u-mbstring php71u-mcrypt php71u-json php71u-gd php71u-pecl-imagick |