I ran hombrew to install PHP, it's taking too long installing other packages

I just ran


brew install php


And it's been more than an hour installing so many other packages. Why can't hombrew just install what it's requested?

MacBook Pro 13″, macOS 12.3

Posted on Sep 7, 2022 2:25 AM

Reply
2 replies

Sep 9, 2022 5:58 PM in response to jcvelac

Software is built upon a lot of other utilities many times from other projects. PHP is a huge item with so many parts and requires a lot of support utilities from other projects. Homebrew is just taking all the open source code and providing relatively easy access to installing these projects. Unless you are willing to pay someone else to provide you with a full binary package made for macOS, then you must deal how Homebrew works.


Here is information about the Homebrew PHP formula which shows its dependencies with several parts requiring downloading & compiling portions from the source code with the latter requiring lots of time.

https://formulae.brew.sh/formula/php


There is also a possibility some of those dependencies may have their own dependencies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I ran hombrew to install PHP, it's taking too long installing other packages

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.