Answers for "mac os change the php verison"

PHP
1

change php version on mac

brew upgrade php : ( get the latest homebrew php packages )

$ brew install [email protected] : ( Install php 7.4 )

$ brew link [email protected] : ( create an alias to this keg-only version; see comments output during installation )

$ echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile : ( Add the alias to your path; see comments output during installation )

$ source ~/.bash_profile : ( Reload .bash_profile to use the new settings immediately )
Posted by: Guest on December-15-2021
1

mac os change the php verison

brew install [email protected] : ( Install php 7.4 )



brew link --overwrite --force [email protected] (override previous version)
 now check

php -v
Posted by: Guest on February-10-2022
1

mac os down upgrade php

Check the following link for mac os users

https://wpbeaches.com/updating-to-php-versions-7-4-and-8-on-macos-11-big-sur-and-catalina/
Posted by: Guest on February-10-2022
0

mac os down upgrade php version

tymon/jwt-auth  not supports php 8.0.8

try this
  


composer require tymon/jwt-auth --ignore-platform-reqs
Posted by: Guest on July-17-2021

Browse Popular Code Answers by Language