When I enter Admin -> Components, I get a warning message: Admin action failed: without a PHP compression library extension it is impossible to retrieve a package from the update server. Please enable before downloading zip (.zip file) extension.
Since I'm not sure exactly what's missing, I installed brew install zlib and then built the wrapper from the php-7.3.11 source using:
I then added extension=/usr/local/php/zip.so, the ZLIB extension, to the php.ini and restarted the Apache server.
However, the warning/error didn't go away when I returned to the page. Did I install the correct library (homebrew zlib 1.2.11)? Or what else is missing?
(Sorry for the barrage of questions today.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[MacOS Catalina 10.15.3]
When I enter
Admin -> Components
, I get a warning message: Admin action failed: without a PHP compression library extension it is impossible to retrieve a package from the update server. Please enable before downloading zip (.zip file) extension.Since I'm not sure exactly what's missing, I installed
brew install zlib
and then built the wrapper from the php-7.3.11 source using:I then added
extension=/usr/local/php/zip.so
, the ZLIB extension, to thephp.ini
and restarted the Apache server.However, the warning/error didn't go away when I returned to the page. Did I install the correct library (homebrew zlib 1.2.11)? Or what else is missing?
(Sorry for the barrage of questions today.)
Zip and Zlib are different libs:
Zlib is not supported.
Thanks Stephane!
Ok, so what I needed to do was to build the
zlib
php extension for this, notzip
.In order to build this,
brew isntall zlib
is still required (notlibzip
).No, you need
zip
extension, notzlib
extension.