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.

preguntada hace un año435 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un año
  • Hi, would it be possible to provide the step for updating the webserver? Appreciate it!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas