Created
April 23, 2018 12:08
-
-
Save tnoborio/b298fb8395e97e0f206a11fbca5d07c0 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo yum update -y | |
sudo yum install gcc gcc-c++ libxml2-devel -y | |
wget http://jp2.php.net/get/php-7.2.4.tar.bz2/from/this/mirror -O php-7.2.4.tar.bz2 | |
tar jxvf php-7.2.4.tar.bz2 | |
mkdir -p php-lambda/php-bin | |
cd php-7.2.4 | |
./configure --prefix=/home/ec2-user/php-lambda/php-bin/ | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment