Cloud9 || PHP version


Hello there,

How can I update PHP to 7.4 version or upper?

asked 2 years ago526 views
1 Answer

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]

profile pictureAWS
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