Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

mac use php@7.4

brew install php@7.4
brew services restart php
brew unlink php@8.1
brew link php@7.4

echo 'export PATH="/usr/local/opt/php@7.4/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/php@7.4/sbin:$PATH"' >> ~/.zshrc
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mac
ADD COMMENT
Topic
Name
7+8 =