[DOC-CVS] [doc-en] master: Fix naming, paths, and add php-fpm to install example in dnf.xml (#5745)
[email protected] (Rich Bowen via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Rich Bowen (rbowen) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-08-21T11:48:36+02:00 Commit: https://github.com/php/doc-en/commit/88d5409cd9668b28ecb879522750807322a816dd Raw diff: https://github.com/php/doc-en/commit/88d5409cd9668b28ecb879522750807322a816dd.diff Fix naming, paths, and add php-fpm to install example in dnf.xml (#5745) * Fix naming, paths, and add php-fpm to install example in dnf.xml Use "Apache httpd" per project naming convention. Replace incorrect Debian-style /etc/php/8.3/ paths with the actual DNF-based distro layout (/etc/php.d/). Add php-fpm to the install example since it is the default SAPI on these systems. Note PHP-FPM as the service to restart. * Update install/unix/dnf.xml Co-authored-by: Louis-Arnaud <[email protected]> --------- Co-authored-by: Louis-Arnaud <[email protected]> Changed paths: M install/unix/dnf.xml Diff: diff --git a/install/unix/dnf.xml b/install/unix/dnf.xml index 3f128426542e..0dd94e30f736 100644 --- a/install/unix/dnf.xml +++ b/install/unix/dnf.xml @@ -28,7 +28,7 @@ <title>DNF Install Example</title> <programlisting role="shell"> <![CDATA[ -# dnf install php php-common +# dnf install php php-common php-fpm ]]> </programlisting> </example> @@ -38,7 +38,7 @@ For example: </simpara> <example xml:id="install.unix.dnf.example2"> - <title>Restarting Apache once PHP is installed</title> + <title>Restarting Apache httpd once PHP is installed</title> <programlisting role="shell"> <![CDATA[ # sudo systemctl restart httpd @@ -86,10 +86,10 @@ <simpara> DNF will automatically add the appropriate lines to the different &php.ini; related files like - <filename>/etc/php/8.3/php.ini</filename>, - <filename>/etc/php/8.3/conf.d/*.ini</filename>, etc. and depending on + <filename>/etc/php.ini</filename>, + <filename>/etc/php.d/*.ini</filename>, etc. and depending on the extension will add entries similar to <literal>extension=foo.so</literal>. - However, restarting the web server (like Apache) is required before these + However, restarting the web server and PHP-FPM is required before these changes take effect. </simpara> </sect2> @@ -114,3 +114,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> +