diff options
author | Elis Hirwing <elis@hirwing.se> | 2020-05-01 09:15:47 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2020-05-01 22:30:03 +0200 |
commit | d2cb49c248daad8decb0caa77a76aa09aec2d9de (patch) | |
tree | 7a7db8499aeaabceaabdc377493aabdc3e12b301 | |
parent | c549e9f9d69c7e3a1730e836c14bd4c55edd86a7 (diff) | |
download | nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.tar nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.tar.gz nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.tar.bz2 nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.tar.lz nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.tar.xz nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.tar.zst nixpkgs-d2cb49c248daad8decb0caa77a76aa09aec2d9de.zip |
doc/php: Fix headline conflicts
-rw-r--r-- | doc/languages-frameworks/php.section.md | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/languages-frameworks/php.section.md b/doc/languages-frameworks/php.section.md index 101f7b043ff..30c05b3b614 100644 --- a/doc/languages-frameworks/php.section.md +++ b/doc/languages-frameworks/php.section.md @@ -1,10 +1,8 @@ -# PHP +# PHP {#sec-php} -## User Guide +## User Guide {#ssec-php-user-guide} -### Using PHP - -#### Overview +### Overview {#ssec-php-user-guide-overview} Several versions of PHP are available on Nix, each of which having a wide variety of extensions and libraries available. @@ -36,7 +34,7 @@ opcache extension shipped with PHP is available at `php.extensions.opcache` and the third-party ImageMagick extension at `php.extensions.imagick`. -#### Installing PHP with extensions +### Installing PHP with extensions {#ssec-php-user-guide-installing-with-extensions} A PHP package with specific extensions enabled can be built using `php.withExtensions`. This is a function which accepts an anonymous @@ -89,7 +87,7 @@ php.buildEnv { } ``` -##### Example setup for `phpfpm` +#### Example setup for `phpfpm` {#ssec-php-user-guide-installing-with-extensions-phpfpm} You can use the previous examples in a `phpfpm` pool called `foo` as follows: @@ -113,7 +111,7 @@ in { }; ``` -##### Example usage with `nix-shell` +#### Example usage with `nix-shell` {#ssec-php-user-guide-installing-with-extensions-nix-shell} This brings up a temporary environment that contains a PHP interpreter with the extensions `imagick` and `opcache` enabled: |