How to switch Php version between two version on aws
First go to path of CD /use/bin directory and search here. Should be installed your Php version which one you want to switch after that you have to run below command.
sudo update-alternatives --set php /use/bin/php5.5 sudo update-alternatives --set php /use/bin/php7.3 sudo update-alternatives --set php /use/bin/php7.4
How to switch PHP version?
First go to path of CD /use/bin directory and search here. Should be installed your Php version which one you want to switch after that you have to run below command.
sudo update-alternatives –set php /use/bin/php5.5
change your php version according to you.
Leave a Reply
Want to join the discussion?Feel free to contribute!