PHP runtime for AWS Lambda
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
630 B

#! /bin/bash
cd ~
tar zxvf php-7.4.0RC6.tar.gz
cd php-7.4.0RC6
./configure --prefix=/home/ec2-user/php-7.4.0RC6-build/ --with-curl --with-zlib --with-openssl --enable-bcmath --enable-mbstring --with-mysqli --enable-sockets --without-sqlite3 --disable-fileinfo --disable-cgi
make install
cd ~
wget -O phpredis-5.1.1.tar.gz
tar zxvf phpredis-5.1.1.tar.gz
cd phpredis-5.1.1
./configure --with-php-config=/home/ec2-user/php-7.4.0RC6-build/bin/php-config
make install