1 Answer
- Newest
- Most votes
- Most comments
1
sudo yum -y remove php*
sudo amazon-linux-extras | grep php
sudo amazon-linux-extras disable php7.2
sudo amazon-linux-extras disable lamp-mariadb10.2-php7.2
sudo amazon-linux-extras install -y php8.0
[Courtesy: I got these commands from https://greggborodaty.com/amazon-linux-2-upgrading-from-php-7-2-to-php-7-4/]
Relevant content
- Accepted Answerasked 4 months ago
- asked 2 years ago
- asked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
@rePost-User-9011840 - If this solved your issue, can you please accept my answer? Thanks