> ## Content Index
> Fetch the complete content index at: https://www.blog.nestict.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to install zip extension in php 8.0/8.1 in Cyberpanel
- URL: https://www.blog.nestict.com/how-to-install-zip-extension-in-php-8-0-8-1-in-cyberpanel/
- Published: 2023-10-28T16:55:57.000Z
- Updated: 2025-06-16T07:17:56.000Z
- Author: Nestict News Team (CSR)
- Tags: Featured, Technology, Webhosting, #Migrated-1750058186872, #wp, #wp-post, #Import 2025-06-16 10:16

Follow below instructions for installing PHP extensions in CyberPanel for users who cannot find the desired extensions in the `Server > PHP > Install Extensions` section or in the LiteSpeed repository.

In such cases, you can use the PEAR package manager to manage PECL 17 extensions. First, change "lsphp81" to your default PHP version and run the following commands:

**`cd /usr/local/lsws/lsphp`**

XX

/bin wget http://pear.php.net/go-pear.phar ./lsphp go-pear.phar

Once PEAR is installed, you can install the required extension. For example, to install the latest version of the zip extension, use the following command:

**`/usr/local/lsws/lsphp`**

XX

/bin/pecl install zip

If you need a specific version of the zip extension, you can install it using this command:

**`/usr/local/lsws/lsphp`**

XX

/bin/pecl install zip-1.21.1

Note: Make sure to add `extension=zip.so` to your .php config

Remember to replace "lsphp81" with the PHP version you have installed as the default. This should help you install the PHP extensions you need in CyberPanel.

NB:

Replace

XX

with

80

or

81

depending on php version you are installing