- Newest
- Most votes
- Most comments
Hi,
What is the error that you get when installing?
You can follow this guide to install PHP and MariaDB: https://docs.aws.amazon.com/linux/al2023/ug/ec2-lamp-amazon-linux-2023.html#install-phpmyadmin-lamp-server-2023
Make sure the security groups outbound rule allow HTTP (port 80), and HTTPS (port 443) inorder to reach the internet.
The latest version is PHP 8.1 but the application I'm using has compatibility issues with the latest version of PHP; hence need to downgrade to PHP 7.4 and already enabled ports 80, 443
I am getting the below error
[root@ip-XXXXX]# dnf install php7.4 -y Last metadata expiration check: 10:38:50 ago on Tue May 21 07:21:24 2024. No match for argument: php7.4 Error: Unable to find a match: php7.4 [root@ip-XXXXX]# dnf install php8.0 -y Last metadata expiration check: 10:38:59 ago on Tue May 21 07:21:24 2024. No match for argument: php8.0
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 7 months ago