Segfaults when using ionCube or SourceGuardian wih the New Relic PHP Agent
Published: December 6, 2024
Over the past few months I’ve seen reports from multiple clients about problems saving and updating product information on their Adobe Commerce stores. We originally saw the issue back in August and I need to give credit to Nemanja Djuric from Webscale as he was actually the one who identified the root cause.
There is a known issue when using versions > 10.17.0.7 of the New Relic PHP Agent with ionCube or SourceGuardian installed (which was the case on all the projects where we saw this issue). The problem is apparently connected to a known issue in PHP core with the observable API.
When this has come up, downgrading the New Relic PHP agent to 10.17.0.7 as recommended here has solved the problem, however it also appears that there is a fix in PHP core and upgrading to a to PHP >= 8.2.23 / 8.3.11 may also be a viable option.