Cloud9 || PHP version

0

Hello there,

How can I update PHP to 7.4 version or upper?

asked 2 years ago526 views
1 Answer
1

sudo yum -y remove php*

sudo amazon-linux-extras | grep php

sudo amazon-linux-extras disable php7.2

sudo amazon-linux-extras disable lamp-mariadb10.2-php7.2

sudo amazon-linux-extras install -y php8.0

[Courtesy: I got these commands from https://greggborodaty.com/amazon-linux-2-upgrading-from-php-7-2-to-php-7-4/]

profile pictureAWS
EXPERT
answered 2 years ago
  • @rePost-User-9011840 - If this solved your issue, can you please accept my answer? Thanks

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