lsphp80-zip doesn't work

Hi, I was testing one of my sites with php 8, and I have noticed that lsphp80-zip extension is not working.

I have installed the extension, but when I go to “INSTALL PHP EXTENSIONS” at cyberpanel, it says that the extension is “not-installed”, however, when I click at install button it says the following:

"Plugin “copr” can’t be imported
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

I have restarted ls, and rebooted my server, but it says the same message. I think I’m stuck.

Could you help me?

Thanks

I have the same problem

Same issue here… ??

Same issue here.

Here are the avalible lsphp extentions
root@server28162:~# apt-cache search lsphp*
lsphp72 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp72-apcu - APC User Cache for PHP
lsphp72-common - Common files for packages built from the PHP source
lsphp72-curl - CURL module for PHP
lsphp72-dbg - Debug symbols for LSPHP70
lsphp72-dev - Files for PHP70 module development
lsphp72-igbinary - igbinary PHP serializer
lsphp72-imagick - Provides a wrapper to the ImageMagick library
lsphp72-imap - IMAP module for PHP
lsphp72-intl - Internationalisation module for PHP
lsphp72-ioncube - PHP extension for interfacing with ioncube
lsphp72-json - JSON module for PHP
lsphp72-ldap - LDAP module for PHP
lsphp72-memcached - memcached extension module for PHP, uses libmemcached
lsphp72-modules-source - PHP 70 modules source package
lsphp72-msgpack - PHP extension for interfacing with MessagePack
lsphp72-mysql - MySQL module for PHP
lsphp72-opcache - Zend OpCache module for PHP
lsphp72-pear - Provides PHP PEAR package
lsphp72-pgsql - PostgreSQL module for PHP
lsphp72-pspell - pspell module for PHP
lsphp72-recode - recode module for PHP
lsphp72-redis - PHP extension for interfacing with Redis
lsphp72-snmp - SNMP module for PHP
lsphp72-sqlite3 - SQLite3 module for PHP
lsphp72-sybase - Sybase module for PHP
lsphp72-tidy - tidy module for PHP
lsphp73 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp73-apcu - APC User Cache for PHP
lsphp73-common - Common files for packages built from the PHP source
lsphp73-curl - CURL module for PHP
lsphp73-dbg - Debug symbols for LSPHP70
lsphp73-dev - Files for PHP70 module development
lsphp73-igbinary - igbinary PHP serializer
lsphp73-imagick - Provides a wrapper to the ImageMagick library
lsphp73-imap - IMAP module for PHP
lsphp73-intl - Internationalisation module for PHP
lsphp73-ioncube - PHP extension for interfacing with ioncube
lsphp73-json - JSON module for PHP
lsphp73-ldap - LDAP module for PHP
lsphp73-memcached - memcached extension module for PHP, uses libmemcached
lsphp73-modules-source - PHP 70 modules source package
lsphp73-msgpack - PHP extension for interfacing with MessagePack
lsphp73-mysql - MySQL module for PHP
lsphp73-opcache - Zend OpCache module for PHP
lsphp73-pear - Provides PHP PEAR package
lsphp73-pgsql - PostgreSQL module for PHP
lsphp73-pspell - pspell module for PHP
lsphp73-recode - recode module for PHP
lsphp73-redis - PHP extension for interfacing with Redis
lsphp73-snmp - SNMP module for PHP
lsphp73-sqlite3 - SQLite3 module for PHP
lsphp73-sybase - Sybase module for PHP
lsphp73-tidy - tidy module for PHP
lsphp74 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp74-apcu - APC User Cache for PHP
lsphp74-common - Common files for packages built from the PHP source
lsphp74-curl - CURL module for PHP
lsphp74-dbg - Debug symbols for LSPHP70
lsphp74-dev - Files for PHP70 module development
lsphp74-igbinary - igbinary PHP serializer
lsphp74-imagick - Provides a wrapper to the ImageMagick library
lsphp74-imap - IMAP module for PHP
lsphp74-intl - Internationalisation module for PHP
lsphp74-ioncube - PHP extension for interfacing with ioncube
lsphp74-json - JSON module for PHP
lsphp74-ldap - LDAP module for PHP
lsphp74-memcached - memcached extension module for PHP, uses libmemcached
lsphp74-modules-source - PHP 70 modules source package
lsphp74-msgpack - PHP extension for interfacing with MessagePack
lsphp74-mysql - MySQL module for PHP
lsphp74-opcache - Zend OpCache module for PHP
lsphp74-pear - Provides PHP PEAR package
lsphp74-pgsql - PostgreSQL module for PHP
lsphp74-pspell - pspell module for PHP
lsphp74-redis - PHP extension for interfacing with Redis
lsphp74-snmp - SNMP module for PHP
lsphp74-sqlite3 - SQLite3 module for PHP
lsphp74-sybase - Sybase module for PHP
lsphp74-tidy - tidy module for PHP
lsphp80 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp80-apcu - APC User Cache for PHP
lsphp80-common - Common files for packages built from the PHP source
lsphp80-curl - CURL module for PHP
lsphp80-dbg - Debug symbols for LSPHP70
lsphp80-dev - Files for PHP70 module development
lsphp80-igbinary - igbinary PHP serializer
lsphp80-imagick - Provides a wrapper to the ImageMagick library
lsphp80-imap - IMAP module for PHP
lsphp80-intl - Internationalisation module for PHP
lsphp80-ldap - LDAP module for PHP
lsphp80-memcached - memcached extension module for PHP, uses libmemcached
lsphp80-modules-source - PHP 70 modules source package
lsphp80-msgpack - PHP extension for interfacing with MessagePack
lsphp80-mysql - MySQL module for PHP
lsphp80-opcache - Zend OpCache module for PHP
lsphp80-pear - Provides PHP PEAR package
lsphp80-pgsql - PostgreSQL module for PHP
lsphp80-pspell - pspell module for PHP
lsphp80-redis - PHP extension for interfacing with Redis
lsphp80-snmp - SNMP module for PHP
lsphp80-sqlite3 - SQLite3 module for PHP
lsphp80-sybase - Sybase module for PHP
lsphp80-tidy - tidy module for PHP

Lsphp80-zip comes in lsphp80-common - Common files for packages built from the PHP source this package.
Check this screenshot too.

Thank you

Have you solve your issues, please help me , I am facing same problem

Check your phpinfo page, it should already be there.

I have this same problem and still no zip is available in my phpinfo file.

I corrected this by following these steps in Centos 7 + Cyberpanel

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:pecl-extension:lsphp74_zip

1 Like

Thank you @NeboxHost following this pattern worked for me.

/usr/local/lsws/lsphp80/bin/pecl install zip
echo “extension=zip.so” > /usr/local/lsws/lsphp80/etc/php.d/20-zip.ini
pkill lsphp