What server settings or PHP.ini configurations can cause the "Allowed memory size exhausted" error when using pclzip.lib.php?

The "Allowed memory size exhausted" error occurs when the PHP script reaches the memory limit set in the server configuration or PHP.ini file while using pclzip.lib.php to handle large zip files. To solve this issue, you can increase the memory_limit value in the PHP.ini file or use the ini_set() function to dynamically increase the memory limit within your script.

// Increase memory limit in PHP script
ini_set('memory_limit', '256M');