Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

PHP 7 Support is out!

php7-beta

#1

Hello all - we released PHP 7 support today and I will be closing this forum down at the end of the week. I will leave it up until then.

Thank you to everyone for your participation and help with the beta - it was a long time coming and your help and support has been invaluable.

-Lisa


pinned #2

#3

I’m little bit confused. How do I install new agent for PHP 7?

sudo apt-get install newrelic-php5?


#4

Hi @nikola.majksner

Yes that’s the package. It’s the same package name as previous for compatibility with previous upgrades. So yes you are installing newrelic-php5 and as you can see it’s version 6.0.0.155

Generally the PHP beta is manually installed, meaning

beta-folder/newrelic-install install was the easy install method.

a call anywhere else to newrelic-install will result in the installer starting. Choose 1) to install the agent to re-run the installer script.

This should remap the newrelic.so file to the PHP 7 ready .so file. Make sure you restart PHP to make it take effect and check your PHPinfo, it should move the New Relic section which shows the version at the top move from beta5 to 6.0.0.155.