Hello, do you want to install the zip extension? It can be installed using the following command
php_version=83
echo /www/server/php/${php_version}/src/ext/zip
cd /www/server/php/${php_version}/src/ext/zip
/www/server/php/${php_version}/bin/phpize
./configure --with-php-config=/www/server/php/${php_version}/bin/php-config
make && make install
if [ "${php_version}" == "73" ];then
extFile="/www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/zip.so"
elif [ "${php_version}" == "74" ]; then
extFile="/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/zip.so"
elif [ "${php_version}" == "80" ]; then
extFile="/www/server/php/80/lib/php/extensions/no-debug-non-zts-20200930/zip.so"
elif [ "${php_version}" == "81" ]; then
extFile="/www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/zip.so"
elif [ "${php_version}" == "82" ]; then
extFile="/www/server/php/82/lib/php/extensions/no-debug-non-zts-20220829/zip.so"
elif [ "${php_version}" == "83" ]; then
extFile="/www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/zip.so"
fi
if [ -f "${extFile}" ];then
echo "extension = zip.so" >> ${php_setup_path}/etc/php.ini
fi
echo -e "extension = " ${extFile} >> /www/server/php/${php_version}/etc/php.ini
echo -e "extension = " ${extFile} >> /www/server/php/${php_version}/etc/php-cli.ini
/etc/init.d/php-fpm-${php_version} reload