diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml index 85a7f9c9871f..bef08b1981fd 100644 --- a/nixos/doc/manual/release-notes/rl-2009.xml +++ b/nixos/doc/manual/release-notes/rl-2009.xml @@ -125,6 +125,68 @@ documentation for instructions. + + + Since this release we have an easy way to customize your PHP install to get a much smaller + base PHP with only wanted extensions enabled. See following snippet to install a smaller PHP + with imagick, opcache and pdo_mysql: + + +environment.systemPackages = [ +(pkgs.phpbase.buildEnv { exts = pp: with pp; [ + imagick + exts.opcache + exts.pdo_mysql + ]; }) +]; + + All native PHP extensions are available under ]]>. + + + Since we have a smaller base package that we base the main php on a + smaller base package we've decided to remove a big bunch of options to make the main + PHP derivation much easier to work with. + + + PHP <literal>config</literal> flags that we don't read anymore: + config.php.argon2 + config.php.bcmath + config.php.bz2 + config.php.calendar + config.php.curl + config.php.exif + config.php.ftp + config.php.gd + config.php.gettext + config.php.gmp + config.php.imap + config.php.intl + config.php.ldap + config.php.libxml2 + config.php.libzip + config.php.mbstring + config.php.mysqli + config.php.mysqlnd + config.php.openssl + config.php.pcntl + config.php.pdo_mysql + config.php.pdo_odbc + config.php.pdo_pgsql + config.php.phpdbg + config.php.postgresql + config.php.readline + config.php.soap + config.php.sockets + config.php.sodium + config.php.sqlite + config.php.tidy + config.php.xmlrpc + config.php.xsl + config.php.zip + config.php.zlib + + +