Homebrew🔗
Homebrew is a package manager for macOS.
Installation🔗
Follow instruction on homebrew homepage.
Usage🔗
For package and CLI application:
1 |
|
For GUI application:
1 |
|
Install PHP🔗
It's easy to install different versions of php with Homebrew (via Shivammathur) and switch to suit your project requirements.
First, add this tap :
1 |
|
To install current php version
1 |
|
To specify a previous version
1 |
|
After installing, you have to link it
1 |
|
To switch between two versions
1 2 |
|
To list versions of php available (and check installed ones)
1 |
|
Last update: December 20, 2024