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.

demandé il y a un an435 vues
1 réponse
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
répondu il y a un an
  • Hi, would it be possible to provide the step for updating the webserver? Appreciate it!

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions