-
Notifications
You must be signed in to change notification settings - Fork 61
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
Support for PHP8 on Debian #145
Comments
Hi again, we have been able to resolve this by manually symlinking ln -s /usr/lib/newrelic-php5/agent/x64/newrelic-20200930.so /usr/lib/php/20200930/newrelic.so After bouncing the web container With kind regards, |
Hi once more, I wanted to share another observation, maybe this helps to investigate this issue. When running
it creates a symlink at With kind regards, |
Hi @amotl Thank you for the great details! This info will be helpful in reproducing the issue. While we're working on a reproduction, can you confirm what version of Python you are using? We've seen similar symlink issues on systems using Python 2 and it would be good to rule this out. Since PHP agent 9.10, the agent installer for Ubuntu/Debian systems now requires Python 3. |
Hi Fahmy, thanks for your quick response. We are running Debian GNU/Linux 9 (stretch) and have both Python 2 and Python 3 installed. With kind regards,
|
Hello We see similar issues with debian. Python 2 not installed, using php8 from sury.org. Symlink created the wrong place and pointing to file there does not exists
|
Thank you @amotl and @kimhemsoe. We're still investigating the issue and hope to have an update soon. |
@amotl @kimhemsoe We've been able to reproduce and resolve the issue with the installer. The fix will be included in v9.17.1 of the agent and should be released this week. Thank you for your engagement and feedback! |
PHP agent 9.17.1 containing the fixes has been released. Please let us know if this resolves the issues. |
Dear Fahmy and all people involved fixing this issue, we just installed the updated packages and can not see any flaws. In the meanwhile, we are running Debian GNU/Linux 10 (buster). Thank you very much for the quick resolution! With kind regards, |
Dear Newrelic team,
thanks a stack for conceiving PHP8 support for the PHP agent. We recently upgraded to PHP8 and now #35 comes just in time. Kudos to all people who have been involved!
Now, when the updated version 9.17.0.300 is being installed through the package repository, it still tells us:
and
/var/log/php/error.log
says:We tried to follow the documentation through #133 and [1] and also tried
dpkg-reconfigure newrelic-php5
, which also tells us:We verified that we run the most recent version:
Indeed, the most recent
newrelic.so
apparently does not get symlinked into/usr/lib/php/20200930
.# ls -1 /usr/lib/php/*/newrelic.so /usr/lib/php/20151012/newrelic.so /usr/lib/php/20170718/newrelic.so /usr/lib/php/20180731/newrelic.so /usr/lib/php/20190902/newrelic.so
With kind regards,
Andreas.
[1] https://docs.newrelic.com/docs/agents/php-agent/installation/php-agent-installation-ubuntu-debian/
The text was updated successfully, but these errors were encountered: