diff --git a/plugins/php-apt/install.sh b/plugins/php-apt/install.sh index 66d74377f..b24a3483e 100755 --- a/plugins/php-apt/install.sh +++ b/plugins/php-apt/install.sh @@ -83,6 +83,7 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-apt/${type} ];then # 安装通用扩展 echo "install PHP-APT[${type}] extend start" + cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install curl cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install gd cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install iconv cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install exif diff --git a/plugins/php-apt/versions/phplib.conf b/plugins/php-apt/versions/phplib.conf index 902074c3e..986584b0f 100755 --- a/plugins/php-apt/versions/phplib.conf +++ b/plugins/php-apt/versions/phplib.conf @@ -233,6 +233,19 @@ "shell": "xml.sh", "check": "xml" }, + { + "name": "curl", + "versions": [ + "74", + "80", + "81", + "82" + ], + "type": "通用扩展", + "msg": "通用CURL库!", + "shell": "curl.sh", + "check": "curl" + }, { "name": "gd", "versions": [