---
title: 'macOS 15.0 Sequoia Apache Setup: Upgrading Homebrew'
url: 'https://getgrav.org/blog/macos-sequoia-apache-upgrade-homebrew'
markdown: 'https://getgrav.org/blog/macos-sequoia-apache-upgrade-homebrew.md'
date: '2024-09-18'
description: "Special Edition: macOS 15.0 Sequoia Development Environment Note 🆕 There's now an easier way. Since I wrote this series, I've built Reeve — a free, open-source tool that sets up and manages this entire stack for you: multiple PHP versions running side by side, your choice of Apache / nginx / Ca…"
taxonomy:
  category:
    - blog
  tag:
    - macos
    - sequoia
    - apache
    - homebrew
    - php
---

![](https://getgrav.org/images/b/7/d/7/e/b7d7e4bd5ad3b1ef51d9341252d5b7155b135b0c-page-header.jpg?g-4acd4937)

  macos  2 mins 

#  macOS 15.0 Sequoia Apache Setup: Upgrading Homebrew 

Special Edition for those that have prior installations

 ![Andy Miller](https://getgrav.org/user/themes/event-horizon/images/authors/andy.png) Andy Miller · SEP 18, 2024 

 [macos](https://getgrav.org/blog?q=macos) [sequoia](https://getgrav.org/blog?q=sequoia) [apache](https://getgrav.org/blog?q=apache) [homebrew](https://getgrav.org/blog?q=homebrew) [php](https://getgrav.org/blog?q=php) 

###### Special Edition: macOS 15.0 Sequoia Development Environment

 Note

🆕 **There's now an easier way.** Since I wrote this series, I've built [**Reeve**](https://getgrav.org/blog/macos-golden-gate-reeve) — a free, open-source tool that sets up and manages this entire stack for you: multiple PHP versions running *side by side*, your choice of Apache / nginx / Caddy, virtual hosts, trusted local SSL, wildcard DNS, and databases — all without hand-editing a single config file. This guide still works if you'd rather do it by hand, but for most people Reeve is the way forward → [**macOS Golden Gate Web Development: Meet Reeve**](https://getgrav.org/blog/macos-golden-gate-reeve).

 Warning

This is a guide to help those with prior Homebrew mutliple PHP-based installations that are looking to upgrade to the new `Hombrew/core` PHP setup from the prior `Homebrew/php` keg which is now deprecated.

With the deprecation of `Homebrew/php` tap, many of the prior formulaes we used in this guide are no longer available. The cleanest way to migrate from the old **brew formulae** to the new **pecl package** approach is to remove everything PHP-related and reinstall with the new instructions.

The first step in this process is to update all the latest packages then upgrade them. This will actually 'migrate' the core PHP packages (which are the only ones supported), but there's a bunch of symlinks utilized that could cause problems down the road, so after upgrading, we'll remove all PHP packages, to provide a fresh start:

```bash
brew update
brew upgrade
brew cleanup
```

You can then double check the current installed PHP packages with:

```bash
brew list | grep php
```

Now we just need to remove everything:

```bash
brew uninstall --force php56 php56-apcu php56-opcache php56-xdebug php56-yaml
brew uninstall --force php70 php70-apcu php70-opcache php70-xdebug php70-yaml
brew uninstall --force php71 php71-apcu php71-opcache php71-xdebug php71-yaml
brew uninstall --force php72 php72-apcu php72-opcache php72-xdebug php72-yaml
brew uninstall --force php80 php80-apcu php80-opcache php80-xdebug php80-yaml
brew uninstall --force php81 php81-apcu php81-opcache php81-xdebug php81-yaml
brew uninstall --force php82 php82-apcu php82-opcache php82-xdebug php82-yaml
brew cleanup
```

 Note

Don't worry if you don't have all these packages installed, this is just a cumulative list and it will skip over anything that's not installed.

Now we can check to see if anything PHP-related is left:

```bash
brew list | grep php
```

If you don't see anything you are all good. If something is still left, you can uninstall those individually using the same `brew uninstall --force` syntax as above.

Now we want to clean out the old configuration options for PHP:

```bash
rm -Rf /usr/local/etc/php/*
```

Now you've cleaned up your prior installation, you can jump to the **PHP Installation** section of [Part 1](https://getgrav.org/blog/macos-sequoia-apache-multiple-php-versions) of the guide.

 ![Andy Miller](https://getgrav.org/user/themes/event-horizon/images/authors/andy.png) 

Andy Miller

 Creator and lead developer of Grav CMS, with over 30 years in software development and 20+ years in open source, dating back to his years as a core member of the Joomla CMS development team. 

 [Threads](https://www.threads.net/@rhukster) [Bluesky](https://bsky.app/profile/rhuk.bsky.social) 

 [  Back to blog ](https://getgrav.org/blog) [  ](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgetgrav.org%2Fblog%2Fmacos-sequoia-apache-upgrade-homebrew&text=macOS%2015.0%20Sequoia%20Apache%20Setup%3A%20Upgrading%20Homebrew) [   ](https://getgrav.org/blog/macos-sequoia-apache-upgrade-homebrew) 

← NEWER

Instagram Feed Plugin is deprecated

[← NEWER Instagram Feed Plugin is deprecated](https://getgrav.org/blog/instagram-feed-deprecated)

OLDER →

macOS 15.0 Sequoia Apache Setup: LetsEncrypt SSL

[OLDER → macOS 15.0 Sequoia Apache Setup: LetsEncrypt SSL](https://getgrav.org/blog/macos-sequoia-apache-ssl)

Related posts

## Keep reading

 security OCT 21 php 

### Critical PHP Security Fixes: Update PHP on Your Grav Sites

The PHP security team released fixes for two critical vulnerabilities on Wednesday 21 October. Both are rated 9.2 out of 10, and both let an attacker run their own code o…

 ![Andy Miller](https://getgrav.org/user/themes/event-horizon/images/authors/andy.png) Andy Miller  5 mins  

[Critical PHP Security Fixes: Update PHP on Your Grav Sites](https://getgrav.org/blog/php-critical-security-release-october-2026)

 macos JUN 16 golden-gate reeve apache 

### macOS Golden Gate Web Development: Meet Reeve

A New Direction: macOS Web Development Environment Every year for what feels like a decade, I've published a fresh version of the same guide: how to stand up a proper loc…

 ![Andy Miller](https://getgrav.org/user/themes/event-horizon/images/authors/andy.png) Andy Miller  13 mins  

[macOS Golden Gate Web Development: Meet Reeve](https://getgrav.org/blog/macos-golden-gate-reeve)

 macos SEP 18 sequoia apache homebrew 

### macOS 15.0 Sequoia Apache Setup: LetsEncrypt SSL

Part 3: macOS 15.0 Sequoia Web Development Environment Note 🆕 There's now an easier way. Since I wrote this series, I've built Reeve — a free, open-source tool that se…

 ![Andy Miller](https://getgrav.org/user/themes/event-horizon/images/authors/andy.png) Andy Miller  9 mins  

[macOS 15.0 Sequoia Apache Setup: LetsEncrypt SSL](https://getgrav.org/blog/macos-sequoia-apache-ssl)

---

## Navigation

- Parent: [Grav - Development Blog](https://getgrav.org/blog.md)
- Previous: [Instagram Feed Plugin is deprecated](https://getgrav.org/blog/instagram-feed-deprecated.md)
- Next: [macOS 15.0 Sequoia Apache Setup: LetsEncrypt SSL](https://getgrav.org/blog/macos-sequoia-apache-ssl.md)
