MacOS 10.15 Catalina installed version of PHP7.3.8 does not include the PHP extension zip. How do I go about finding and installing that zip extension.
Brew install php73-zip reports no available formula with that name.
MacOS 10.15 Catalina installed version of PHP7.3.8 does not include the PHP extension zip. How do I go about finding and installing that zip extension.
Brew install php73-zip reports no available formula with that name.
2
Answers
Homebrew formula/package
php
is compiled with the zip extension enabled by default.Homebrew is Homebrew, it’s not MacPorts or any other Linux package manager. There’s no need to install another package to enable the zip extension. Please check the fact before report the problem.
here is what I found @ install ext-zip for Mac
I had the same problem after updating my Mac to Catalina. Here is what worked for me.
Then reload your console.
It will install PHP 7.3.10 with the zip module. You can use PHP -v to check for the version, and PHP -m for the modules.
Side note: in case you don’t have Homebrew (brew) installed
you can visit: https://brew.sh/
A basic install of Homebrew (brew)
Paste that in a macOS Terminal prompt.