Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions install/unix/debian.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<title>Using APT</title>
<simpara>
First, note that other related packages may be desired like
<literal>libapache-mod-php</literal> to integrate with Apache 2, and
<literal>libapache2-mod-php</literal> to integrate with Apache httpd 2, and
<literal>php-pear</literal> for PEAR.
</simpara>
<simpara>
Expand All @@ -27,24 +27,23 @@
<command>apt update</command>.
</simpara>
<example xml:id="install.unix.debian.apt.example">
<title>Debian Install Example with Apache 2</title>
<title>Debian Install Example with Apache httpd 2</title>
<programlisting role="shell">
<![CDATA[
# apt install php-common libapache2-mod-php php-cli
]]>
</programlisting>
</example>
<simpara>
APT will automatically install the PHP module for Apache 2 and all of its
dependencies, and then activate it. Apache should be restarted in order for
the changes take place. For example:
APT will automatically install the PHP module for Apache httpd 2 and all of its
dependencies, and then activate it. Apache httpd should be restarted in order for
the changes to take place. For example:
</simpara>
<example xml:id="install.unix.debian.apt.example2">
<title>Stopping and starting Apache once PHP is installed</title>
<title>Restarting Apache httpd once PHP is installed</title>
<programlisting role="shell">
<![CDATA[
# /etc/init.d/apache2 stop
# /etc/init.d/apache2 start
# systemctl restart apache2
]]>
</programlisting>
</example>
Expand Down Expand Up @@ -88,10 +87,11 @@
<simpara>
APT will automatically add the appropriate lines to the
different &php.ini; related files like
<filename>/etc/php/7.4/php.ini</filename>,
<filename>/etc/php/7.4/conf.d/*.ini</filename>, etc. and depending on
<filename>/etc/php/8.x/apache2/php.ini</filename>,
<filename>/etc/php/8.x/cli/php.ini</filename>,
<filename>/etc/php/8.x/mods-available/*.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 is required before these
changes take effect.
</simpara>
</sect2>
Expand Down Expand Up @@ -137,3 +137,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->