While installing Extension and themes and also trying to upload, I am getting
CONNECT ERROR: PHP Extensions "zlib" must be loaded.
I have tried to installed zlib from here: https://www.namhuy.net/2430/install-enable-zlib-linux-server.html
zlib is installed in My Ubuntu:
Also enabled and loaded in PHP ini:
Solution:
Go to GZ.php file ( downloader/lib/Mage/Archive/Helper/File/Gz.php ) in your Magento directory and replace
if (!function_exists('gzopen')) {
with
if (!function_exists('gzopen64')) {
and also:
$this->_fileHandler = @gzopen($this->_filePath, $mode);
with
$this->_fileHandler = @gzopen64($this->_filePath, $mode);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.