PHP 7.3.8 zip extension missing from install of macOS 10.15 Catalina

22,600

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.

brew update
brew install [email protected]
brew link [email protected]

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)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Paste that in a macOS Terminal prompt.

Share:
22,600
DBerg
Author by

DBerg

Updated on July 09, 2022

Comments

  • DBerg
    DBerg almost 2 years

    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.

  • DBerg
    DBerg over 4 years
    Perhaps you don't understand the issue. The PHP installed when upgrading to macOS 10.15 catalina does not include the zip extension. That is the problem I was trying to solve.
  • funder7
    funder7 about 3 years
    brew link is the key!