How to install php-imap on LightSail - Amazon Linux 2023

0

I'm setting up my LAMP stack on Amazon Linux 2023. So far I have done the following & its all working well.

yum update -y
yum groupinstall "Development Tools"


yum install httpd.x86_64
systemctl start httpd.service
systemctl enable httpd.service
systemctl status httpd.service

yum install php -y
yum install php-cli php-fpm php-mysqlnd php-bcmath php-fileinfo php-json php-mbstring php-openssl php-pdo php-gd php-xml

dnf install mariadb105-server
systemctl start mariadb
systemctl enable mariadb
systemctl status mariadb
mysql_secure_installation

When trying to install php-imap, I get the following error:

yum install php-imap
Last metadata expiration check: 3:22:02 ago on Sun Jan  7 12:43:10 2024.
No match for argument: php-imap
Error: Unable to find a match: php-imap

How do I install php-imap & php-apcu?

TIA

asked 4 months ago201 views
1 Answer

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