-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DIGITAL-287: Update README with suggested improvements
- Loading branch information
1 parent
660cac4
commit 770b201
Showing
2 changed files
with
89 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Install PHP & Composer using homebrew | ||
|
||
## Install PHP 8.3 | ||
Follow these steps to download php. You will download the base php package then install and reset to version 8.3. | ||
``` | ||
brew install php | ||
brew install php@8.3 | ||
# Change the version number in the following command to match the base php version number. | ||
# To find the base version number run `php -v` | ||
brew unlink php@8.4 | ||
brew link php@8.3 | ||
# Add path to zshrc for global access to 8.3 using php | ||
echo 'export PATH="/opt/homebrew/opt/php@8.3/bin:$PATH"' >> ~/.zshrc | ||
echo 'export PATH="/opt/homebrew/opt/php@8.3/sbin:$PATH"' >> ~/.zshrc | ||
``` | ||
Confirm your version of php by opening a new terminal and running `php -v`. | ||
|
||
## Install Composer 2.0 | ||
``` | ||
brew install composer | ||
``` | ||
Confirm composer version using `composer -v`. |