Skip to content

Instantly share code, notes, and snippets.

Homestead PHP 7.4 Upgrade Guide (August 2020)

1. Update your Homestead settings:

Head into your Homestead directory (likely ~/Code/homestead) and open Homestead.yaml.

Remove the webdriver: true line & swap any php: "7.3" lines to php: "7.4", like this:

  features:
 - mongodb: true
@DFurnes
DFurnes / homestead-upgrade.md
Last active November 18, 2019 18:10
Updating your Homestead, Fall 2019 edition!

Hey folks! Let's do some spring fall cleaning! 🍂

If you work on apps using Homestead, please set aside some time within the next few sprints to follow this upgrade guide: we want to make sure everyone's environments are up to date and as close to production as possible.

This may take up to an hour, so grab a coffee & read up on new features in PHP 7.3! ☕

Upgrade Guide

This has been tested on macOS 10.14 (Mojave) & macOS 10.15 (Catalina).

@DFurnes
DFurnes / update-homestead.md
Last active January 17, 2019 16:24
Updating your Homestead, Winter 2018 edition!

Hey folks! Let's do some spring winter cleaning! If you do work using Homestead, now might be a good time to update and re-build your box: we want to make sure everyone's environments are up to date and as close to production as possible (newer Ubuntu, MariaDB, and ext-newrelic extension).

This should take between 10-60 minutes (depending on whether you need to download a new box). ⏱️

Upgrade Guide

To make sure you're using the latest and greatest, download the latest VirtualBox (5.2.22) and Vagrant (2.2.2).

Update your Homestead.yaml to use MariaDB for SQL databases:

@DFurnes
DFurnes / gist:98c00f683e59e642797a07b148708d15
Created April 19, 2018 14:26
'npm ls readable-stream' in phoenix-next
λ phoenix-next shrink-vendor-bundle* npm ls readable-stream
/Users/dfurnes/Sites/phoenix-next
├─┬ @dosomething/eslint-config@4.0.0
│ └─┬ eslint@4.19.1
│ └─┬ concat-stream@1.6.2
│ └── readable-stream@2.3.6 deduped
├─┬ @dosomething/webpack-config@4.0.0
│ └─┬ node-sass@4.7.2
│ ├─┬ npmlog@4.1.2
│ │ └─┬ are-we-there-yet@1.1.4

Keybase proof

I hereby claim:

  • I am dfurnes on github.
  • I am dfurnes (https://keybase.io/dfurnes) on keybase.
  • I have a public key whose fingerprint is E104 B9EC EBE8 5988 1525 25BF 16CE 8D2F D3A9 8543

To claim this, I am signing this object: