anchor.diff:    mainCfg = config.services.httpd;
   
     httpd = pkgs.apacheHttpd.override { mpm = mainCfg.multiProcessingModule; };
  +
  +  php = pkgs.php.override { apacheHttpd = httpd; };
   
     getPort = cfg: if cfg.port != 0 then cfg.port else if cfg.enableSSL then 443 else 80;
   
  
positive.code:         allModules =
            concatMap (svc: svc.extraModulesPre) allSubservices
            ++ map (name: {inherit name; path = "${httpd}/modules/mod_${name}.so";}) apacheModules
            ++ optional enablePHP { name = "php5"; path = "${pkgs.php}/modules/libphp5.so"; }
            ++ concatMap (svc: svc.extraModules) allSubservices
            ++ extraForeignModules;
        in concatMapStrings load allModules
  
negative.code:         ([ mainCfg.phpOptions ] ++ (map (svc: svc.phpOptions) allSubservices));
      }
      ''
        cat ${php}/etc/php-recommended.ini > $out
        echo "$options" >> $out
      '';
  
  