This commit is contained in:
midoks
2019-11-29 19:27:08 +08:00
parent f44710c0f1
commit df9c7928ae
2 changed files with 127 additions and 2 deletions
+5 -2
View File
@@ -39,9 +39,12 @@ Install_lib()
OPTIONS=''
if [ $sysName == 'Darwin' ]; then
OPTIONS="--with-openssl-dir=/usr/local/Cellar/openssl/1.0.2q"
fi
fi
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
if [ -f $php_lib/${LIBNAME}-${LIBV} ];then
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
fi
cd ${LIBNAME}-${LIBV}
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS