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.

gefragt vor einem Jahr435 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr
  • Hi, would it be possible to provide the step for updating the webserver? Appreciate it!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen