In certain instance's you will find that your website will request the installation of "zip" to be installed into your current versions of php. In best practices, to avoid confusion we would suggest installing it for every version.
You can use the following script to find the currently installed PHP versions:
root@server [~] # /usr/local/cpanel/bin/rebuild_phpconf --current
DEFAULT PHP: ea-php72
ea-php71 SAPI: cgi
ea-php72 SAPI: cgi
ea-php73 SAPI: cgi
ea-php74 SAPI: dso
Once you have identified that version of PHP, you can then install the missing "Zip" module. You can install them with the following command:
yum install ea-phpXX-php-zip*
*Please don't forget to replace XX with the PHP version you require.
You would also be able to install PHP extensions through the WHM's EasyApache 4 interface by navigating to.
Home >> Software >> EasyApache 4.
You'd then choose to 'Customize' under 'Currently Installed Packages'. From there you can manage PHP extensions to check and ensure that everything your application needs is installed.
The following article will also outline the process as well: PHP Options