1 個回答
- 最新
- 最多得票
- 最多評論
0
It seems that AWS Lightsail may have updated their blueprint offerings, and the LAMP(PHP 7) blueprint is no longer available. AWS periodically updates their instance blueprints to provide the latest and most secure versions of the software.
if you still need LAMP 7 with lightsail
- Create a new Lightsail instance with the available LAMP(PHP 8) blueprint
- Connect it
- Downgrade PHP version to 7
- Update your web server configuration to use the PHP 7
- Restart
downgrade code as follows
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.4
replace 7.4 with your desired version
Hi, would it be possible to provide the step for updating the webserver? Appreciate it!