1 個回答
- 最新
- 最多得票
- 最多評論
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/]
相關內容
- 已提問 1 年前
- AWS 官方已更新 4 個月前
- AWS 官方已更新 9 個月前
@rePost-User-9011840 - If this solved your issue, can you please accept my answer? Thanks