let testString = "can-use-subgroups"; in import ../make-test-python.nix ({ pkgs, lib, php, ... }: { name = "php-${php.version}-httpd-pcre-jit-test"; meta.maintainers = lib.teams.php.members; nodes.machine = { lib, pkgs, ... }: { time.timeZone = "UTC"; services.httpd = { enable = true; adminAddr = "please@dont.contact"; phpPackage = php; enablePHP = true; phpOptions = "pcre.jit = true"; extraConfig = let testRoot = pkgs.writeText "index.php" '' Require all granted ''; }; }; testScript = let # PCRE JIT SEAlloc feature does not play well with fork() # The feature needs to either be disabled or PHP configured correctly # More information in https://bugs.php.net/bug.php?id=78927 and https://bugs.php.net/bug.php?id=78630 pcreJitSeallocForkIssue = pkgs.writeText "pcre-jit-sealloc-issue.php" ''