The option of LAMP(PHP 7) is missing in the blueprint section of Lightsail's Create instance

0

I created instance with LAMP(PHP 7) few days ago, when I try to create another LAMP(PHP 7) blueprint instance. I only can select LAMP(php8) now.

asked a year ago423 views
1 Answer
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

profile picture
EXPERT
answered a year ago
  • Hi, would it be possible to provide the step for updating the webserver? Appreciate it!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions