How to install php 7.4 and MariaDB 8.0 in Linux AMI 2023

0

I am unbale to to install php 7.4 and maria DB 8.0 in linux AMI 2023

Sarvesh
asked 24 days ago96 views
2 Answers
0

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.

profile picture
answered 24 days ago
0

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

Sarvesh
answered 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions