Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP 7.3.8 zip extension missing from install of macOS 10.15 Catalina [duplicate]

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.

like image 201
DBerg Avatar asked Oct 10 '19 15:10

DBerg


1 Answers

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.

like image 147
Jah Avatar answered Nov 17 '22 21:11

Jah