Browse Source

Inlcude openSSL to hestia-php.

Raphael Schneeberger 4 năm trước cách đây
mục cha
commit
bd0caec6a4
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      src/hst_autocompile.sh

+ 7 - 1
src/hst_autocompile.sh

@@ -459,7 +459,11 @@ if [ "$PHP_B" = true ] ; then
         # Download and unpack source files
         cd $BUILD_DIR
         download_file $PHP '-' | tar xz
-        
+        download_file $OPENSSL '-' | tar xz
+
+        # Rename openssl folder
+        mv openssl-$OPENSSL_V openssl
+       
         # Change to untarred php directory
         cd $BUILD_DIR_PHP
 
@@ -470,6 +474,7 @@ if [ "$PHP_B" = true ] ; then
                         --with-fpm-user=admin \
                         --with-fpm-group=admin \
                         --with-libdir=lib/x86_64-linux-gnu \
+                        --with-openssl=$BUILD_DIR \
                         --with-mysqli \
                         --with-gettext \
                         --with-curl \
@@ -482,6 +487,7 @@ if [ "$PHP_B" = true ] ; then
                         --with-fpm-user=admin \
                         --with-fpm-group=admin \
                         --with-libdir=lib/aarch64-linux-gnu \
+                        --with-openssl=$BUILD_DIR \
                         --with-mysqli \
                         --with-gettext \
                         --with-curl \