Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

downgrade php 7.4 to 7.3 mac

#Install php version 7.3
brew install php@7.3
#Install the required PHP to your PATH
echo 'export PATH="/usr/local/opt/php@7.3/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/php@7.3/sbin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
#Check Version
php --version
#Show you where your ini file is loaded
php --ini
 
PREVIOUS NEXT
Tagged: #downgrade #php #mac
ADD COMMENT
Topic
Name
8+1 =