The following are causeing PHP version error plz suggest solution
asked Sep 9, 2020 at 12:00
Anonymous Record
1491 silver badge16 bronze badges
-
composer exactly tells you wants wrong. your php versionPhilipp Sander– Philipp Sander2020年09月09日 12:35:58 +00:00Commented Sep 9, 2020 at 12:35
-
how can I downgrade my php version to 7.2Anonymous Record– Anonymous Record2020年09月09日 12:45:52 +00:00Commented Sep 9, 2020 at 12:45
-
I am using bitnami linux ec2 awsAnonymous Record– Anonymous Record2020年09月09日 12:46:20 +00:00Commented Sep 9, 2020 at 12:46
-
php 7.2 only has 2 months of support left. are you sure that you want to downgrade?Philipp Sander– Philipp Sander2020年09月09日 12:51:52 +00:00Commented Sep 9, 2020 at 12:51
-
what magento verison are you using?Philipp Sander– Philipp Sander2020年09月09日 12:52:55 +00:00Commented Sep 9, 2020 at 12:52
1 Answer 1
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
Explore related questions
See similar questions with these tags.
default