diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 08e863c38552..1abe3e7862f9 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -478,6 +478,7 @@ lib.makeScope pkgs.newScope (self: with self; { lib.optional (!stdenv.isDarwin && lib.meta.availableOn stdenv.hostPlatform valgrind) valgrind.dev; + configureFlags = lib.optional php.ztsSupport "--disable-opcache-jit"; zendExtension = true; postPatch = lib.optionalString stdenv.isDarwin '' # Tests are flaky on darwin