diff --git a/cyberpanel_upgrade.sh b/cyberpanel_upgrade.sh index 693b309a1..1bde219af 100644 --- a/cyberpanel_upgrade.sh +++ b/cyberpanel_upgrade.sh @@ -193,7 +193,10 @@ if [[ ! -f /usr/local/lsws/lsphp74/lib64/php/modules/zip.so ]] && [[ $SERVER_OS yum install -y http://packages.psychotic.ninja/7/plus/x86_64/RPMS/libzip-0.11.2-6.el7.psychotic.x86_64.rpm yum install -y http://packages.psychotic.ninja/7/plus/x86_64/RPMS/libzip-devel-0.11.2-6.el7.psychotic.x86_64.rpm /usr/local/lsws/lsphp74/bin/pecl install zip + if [[ $? == 0 ]] ; then echo "extension=zip.so" > /usr/local/lsws/lsphp74/etc/php.d/20-zip.ini + else + echo -e "\nlsphp74-zip compilation failed..." fi #fix the lsphp74-zip missing issue.