diff --git a/plugins/php/versions/74/openssl.sh b/plugins/php/versions/74/openssl.sh index 29a8478a8..b78529e26 100755 --- a/plugins/php/versions/74/openssl.sh +++ b/plugins/php/versions/74/openssl.sh @@ -52,7 +52,7 @@ Install_lib() $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/80/openssl.sh b/plugins/php/versions/80/openssl.sh index 29a8478a8..b78529e26 100755 --- a/plugins/php/versions/80/openssl.sh +++ b/plugins/php/versions/80/openssl.sh @@ -52,7 +52,7 @@ Install_lib() $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/scripts/lib.sh b/scripts/lib.sh index 6e1e48f5e..0e2718cc0 100755 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -272,6 +272,7 @@ elif [ "$OSNAME" == "ubuntu" ] || [ "$OSNAME" == "debian" ]; then apt install -y devscripts apt install -y net-tools apt install -y python3-dev + apt install -y autoconf apt install -y libffi-dev apt install -y cmake automake make @@ -283,7 +284,10 @@ elif [ "$OSNAME" == "ubuntu" ] || [ "$OSNAME" == "debian" ]; then apt install -y libpcre3 libpcre3-dev apt install -y openssl + apt install -y libssl-dev + apt install -y libcurl4-openssl-dev apt install -y libmemcached-dev + apt install -y libsasl2-dev apt install -y imagemagick libmagickwand-dev apt install -y libxml2 libxml2-dev libbz2-dev libmcrypt-dev libpspell-dev librecode-dev @@ -299,7 +303,7 @@ elif [ "$OSNAME" == "ubuntu" ] || [ "$OSNAME" == "debian" ]; then apt install -y libicu-dev - apt install -y gcc build-essential libssl-dev + apt install -y gcc build-essential apt install -y curl libcurl4-gnutls-dev #https://blog.csdn.net/qq_36228377/article/details/123154344