在安装Extension和主题并尝试上传时,我正在
CONNECT ERROR:必须加载PHP扩展“zlib”。
我试图从这里安装zlib:http://materializecss.com/dialogs.html
zlib安装在My Ubuntu中:
https://www.namhuy.net/2430/install-enable-zlib-linux-server.html
还在PHP ini中启用并加载:
答案 0 :(得分:1)
解决方案:
转到Magento目录中的GZ.php文件(downloader / lib / Mage / Archive / Helper / File / Gz.php) 并替换
if (!function_exists('gzopen')) {
与
if (!function_exists('gzopen64')) {
还有:
$this->_fileHandler = @gzopen($this->_filePath, $mode);
带
$this->_fileHandler = @gzopen64($this->_filePath, $mode);