Skip to content

Conversation

rpaliwal1997
Copy link
Contributor

Issue:- PHP installations are failing on AL2023/RHEL with the error: "execution failed for php-agent-installer: exit status 1: redhat-release >= 5 is required by newrelic-repo-5-3.noarch"

Jira Ticket

Upon investigation, it was determined that the install_rpm command is not supported in Al2023. When the installation recipe executed the command:

sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm

the following error was encountered:

error: Failed dependencies: redhat-release >= 5 is needed by newrelic-repo-5-3.noarch

The issue was resolved after implementing the necessary changes, I tried PHP installation on Al2023/RHEL and it is working fine, see below.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants