Skip to content

Commit e604882

Browse files
committed
Build php-fpm with openssl.
1 parent 13d8183 commit e604882

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hst_autocompile.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ if [ "$PHP_B" = true ] ; then
185185

186186
# Download and unpack source files
187187
wget -qO- $PHP | tar xz
188+
wget -qO- $OPENSSL | tar xz
188189

189190
# Change to php directory
190191
cd php-$PHP_V
@@ -195,6 +196,7 @@ if [ "$PHP_B" = true ] ; then
195196
--with-zlib \
196197
--with-fpm-user=admin \
197198
--with-fpm-group=admin \
199+
--with-openssl=../openssl-$OPENSSL_V \
198200
--with-mysql \
199201
--with-mysqli \
200202
--with-curl \
@@ -206,6 +208,7 @@ if [ "$PHP_B" = true ] ; then
206208
# Cleare up unused files
207209
cd $BUILD_DIR
208210
rm -r php-$PHP_V
211+
rm -r openssl-$OPENSSL_V
209212

210213
# Prepare Deb Package Folder Structure
211214
cd hestia-php_$HESTIA_V/

0 commit comments

Comments
 (0)