Skip to content

Commit c15af05

Browse files
committed
Set openssl.cafile on build stage
1 parent 9642651 commit c15af05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build-alpine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ ENABLE_STATIC=yes
5959
--with-openssl --with-zlib \
6060
"${BUILD_EXTRA[@]}"
6161

62+
sed -ie 's/PHP_INI_ENTRY("openssl.cafile", NULL, PHP_INI_PERDIR, NULL)/PHP_INI_ENTRY("openssl.cafile", "\/etc\/ssl\/cert.pem", PHP_INI_PERDIR, NULL)/g' ext/openssl/openssl.c
6263
sed -ie 's/-export-dynamic//g' Makefile
6364
sed -ie 's/-o $(SAPI_CLI_PATH)/-all-static -o $(SAPI_CLI_PATH)/g' Makefile
6465

0 commit comments

Comments
 (0)