Skip to content

Instantly share code, notes, and snippets.

@deki
Created May 2, 2021 20:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deki/95efaf3b619a191abdf6c2e643706489 to your computer and use it in GitHub Desktop.
Save deki/95efaf3b619a191abdf6c2e643706489 to your computer and use it in GitHub Desktop.
Installs PHP 7.4 in AWS Cloud 9 with Amazon Linux 2
#!/usr/bin/env bash
sudo amazon-linux-extras disable php7.2
sudo amazon-linux-extras disable lamp-mariadb10.2-php7.2
sudo amazon-linux-extras install -y php7.4
@Hemanth0711
Copy link

getting an error
failure: repodata/c9a8aa18b37e7a72392290df43e33c79189f8d4c-primary.xml.gz from hashicorp: [Errno 256] No more mirrors to try.
https://rpm.releases.hashicorp.com/AmazonLinux/2/x86_64/stable/repodata/c9a8aa18b37e7a72392290df43e33c79189f8d4c-primary.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Installation failed. Check that you have permissions to install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment