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.

질문됨 일 년 전435회 조회
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

profile picture
전문가
답변함 일 년 전
  • Hi, would it be possible to provide the step for updating the webserver? Appreciate it!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠