PHP
Install
environment.systemPackages = with pkgs; [ php ];
See nix search php
for additional versions like php74
, etc.
Setting custom php.ini configurations
environment.systemPackages =
let
php = pkgs.php.buildEnv { extraConfig = "memory_limit = 2G"; };
in [
php
];