FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
php-lambda-layer/build.sh at master · stackery/php-lambda-layer · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
stackery
/
php-lambda-layer
Public archive
Notifications
You must be signed in to change notification settings
Fork
67
Star
322
Code
Issues
16
Pull requests
7
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
php-lambda-layer
/
build.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
23 lines (16 loc) · 447 Bytes
Breadcrumbs
php-lambda-layer
/
build.sh
Copy path
File metadata and controls
executable file
·
23 lines (16 loc) · 447 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!
/bin/bash
yum install -y php71-mbstring.x86_64 zip php71-pgsql php71-mysqli
mkdir /tmp/layer
cd
/tmp/layer
cp /opt/layer/bootstrap
.
sed
"
s/PHP_MINOR_VERSION/1/g
"
/opt/layer/php.ini
>
php.ini
mkdir bin
cp /usr/bin/php bin/
mkdir lib
for
lib
in
libncurses.so.5 libtinfo.so.5 libpcre.so.0
;
do
cp
"
/lib64/
${lib}
"
lib/
done
cp /usr/lib64/libedit.so.0 lib/
cp /usr/lib64/libpq.so.5 lib/
cp -a /usr/lib64/php lib/
zip -r /opt/layer/php71.zip
.
Back
|
FazBrowse Home
|
New Git URL