evolution / wordpress

Rapidly create, develop, & deploy WordPress across multiple environments.
MIT License
200 stars 18 forks source link

Re-provisioning fails on New Relic when updating to PHP version 7 #173

Closed weeirishman closed 7 years ago

weeirishman commented 7 years ago

After upgrading to PHP version 7 the following error occurs when re-provisioning the production server if New Relic is currently being used:

failed: [production.yoursitename.org] (item={'key': u'newrelic.license', 'value': u'xxxxxxx'}) => {"failed": true, "item": {"key": "newrelic.license", "value": "u'xxxxxxx"}, "msg": "Destination /etc/php/7.1/mods-available/newrelic.ini does not exist !", "rc": 257}
failed: [production.yoursitename.org] (item={'key': u'newrelic.appname', 'value': u'yoursitename.org (production)'}) => {"failed": true, "item": {"key": "newrelic.appname", "value": "yoursitename.org (production)"}, "msg": "Destination /etc/php/7.1/mods-available/newrelic.ini does not exist !", "rc": 257}

New Relic supports PHP7 though the Ubuntu package name is still newrelic-php5 - https://discuss.newrelic.com/t/php-7-support-is-out/35274/4