Skip to content

Commit bd0caec

Browse files
committed
Inlcude openSSL to hestia-php.
1 parent f406d06 commit bd0caec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/hst_autocompile.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,11 @@ if [ "$PHP_B" = true ] ; then
459459
# Download and unpack source files
460460
cd $BUILD_DIR
461461
download_file $PHP '-' | tar xz
462-
462+
download_file $OPENSSL '-' | tar xz
463+
464+
# Rename openssl folder
465+
mv openssl-$OPENSSL_V openssl
466+
463467
# Change to untarred php directory
464468
cd $BUILD_DIR_PHP
465469

@@ -470,6 +474,7 @@ if [ "$PHP_B" = true ] ; then
470474
--with-fpm-user=admin \
471475
--with-fpm-group=admin \
472476
--with-libdir=lib/x86_64-linux-gnu \
477+
--with-openssl=$BUILD_DIR \
473478
--with-mysqli \
474479
--with-gettext \
475480
--with-curl \
@@ -482,6 +487,7 @@ if [ "$PHP_B" = true ] ; then
482487
--with-fpm-user=admin \
483488
--with-fpm-group=admin \
484489
--with-libdir=lib/aarch64-linux-gnu \
490+
--with-openssl=$BUILD_DIR \
485491
--with-mysqli \
486492
--with-gettext \
487493
--with-curl \

0 commit comments

Comments
 (0)