Skip to content

Commit dac1c40

Browse files
committed
update the cert before installing pear
1 parent d6ad818 commit dac1c40

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bin/compile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ php-build -i development "${VERSION}" "${INSTALL_DEST}/${VERSION}"
2020

2121
pushd "${INSTALL_DEST}/${VERSION}"
2222

23+
24+
# update default_cert_file
25+
wget -O /usr/local/ssl/cert.pem https://curl.haxx.se/ca/cacert.pem
26+
27+
2328
# don't install pear on master (issue with php 8.0)
2429
# this could be a temp issue though
2530
if [[ ! $VERSION =~ ^master$ ]]; then
@@ -33,9 +38,6 @@ if [[ ! $VERSION =~ ^master$ ]]; then
3338
"$INSTALL_DEST/$VERSION/bin/pear" channel-update pear.php.net
3439
fi
3540

36-
# update default_cert_file
37-
wget -O /usr/local/ssl/cert.pem https://curl.haxx.se/ca/cacert.pem
38-
3941
# php-fpm
4042
ln -sv $PWD/sbin/php-fpm $PWD/bin/php-fpm
4143

0 commit comments

Comments
 (0)