Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(php): PHP installation failures with al2023/rhel #1162

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

2 participants