Homebrew PHP Upgrade: “configure: error: Cannot find libz”

I was routinely upgrading my packages on Homebrew when I ran into the following error:

Of course, I did the first thing I always do when running into an error, Google it! And I found this link that suggested running the following:

After that,

ran fine.

One Reply to “Homebrew PHP Upgrade: “configure: error: Cannot find libz””

Leave a Reply

Your email address will not be published. Required fields are marked *