We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b140d0 commit 87032c2Copy full SHA for 87032c2
daemon/internal/newrelic/integration/test.go
@@ -270,8 +270,7 @@ func (t *Test) MakeRun(ctx *Context) (Tx, error) {
270
// 1. Web test and php-cgi has opcache.so loaded by default - remove any PHPMODULE spec for opcache.so
271
// 2. PHP test and php has opcache.so loaded by default - remove any PHPMODULE spec for opcache.so
272
phpModulesCopy := make(map[string]string)
273
- if (t.IsWeb() && ctx.OPCacheModuleLoaded[ctx.CGI]) ||
274
- (ctx.OPCacheModuleLoaded[ctx.PHP]) {
+ if ctx.OPCacheModuleLoaded[php_executable] {
275
for k, v := range t.PhpModules {
276
if !strings.Contains(v, "opcache.so") {
277
phpModulesCopy[k] = v
0 commit comments