The following are causeing PHP version error plz suggest solution
-
composer exactly tells you wants wrong. your php version– Philipp SanderSep 9, 2020 at 12:35
-
how can I downgrade my php version to 7.2– Anonymous RecordSep 9, 2020 at 12:45
-
I am using bitnami linux ec2 aws– Anonymous RecordSep 9, 2020 at 12:46
-
php 7.2 only has 2 months of support left. are you sure that you want to downgrade?– Philipp SanderSep 9, 2020 at 12:51
-
what magento verison are you using?– Philipp SanderSep 9, 2020 at 12:52
1 Answer
Your php version is 7.3.20 and required version is 7.2.0
Downgrade your php version to 7.2 run the following commands :-
- clear
- sudo apt update
- sudo apt purge php*
- sudo apt autoremove
- sudo apt autoclean
- clear
- sudo apt-get install -y php7.2 php7.2-mysql php7.2-bcmath php7.2-gd php7.2-bz2 php7.2-xml php7.2-cli php7.2-common php7.2-intl php7.2-curl php7.2-json php7.2-zip php7.2-mbstring php7.2-soap