- Add missing <application> tags

- Separate the httpd.conf entries for PHP
- s/\./:/

Approved by:	ceri@
This commit is contained in:
Brad Davis 2006-02-16 09:44:00 +00:00
parent 5d07b0953c
commit 1cbd346196
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=27143

View file

@ -4432,7 +4432,9 @@ DocumentRoot /www/someotherdomain.tld
web content. While some companies, such as &microsoft;, have web content. While some companies, such as &microsoft;, have
introduced solutions into their proprietary products, the introduced solutions into their proprietary products, the
open source community answered the call. Two options for open source community answered the call. Two options for
dynamic web content include mod_perl &amp; mod_php.</para> dynamic web content include
<application>mod_perl</application> &amp;
<application>mod_php</application>.</para>
<sect4> <sect4>
<title>mod_perl</title> <title>mod_perl</title>
@ -4497,15 +4499,15 @@ DocumentRoot /www/someotherdomain.tld
<para>This will install and configure the modules required <para>This will install and configure the modules required
to support dynamic <acronym>PHP</acronym> applications. Check to support dynamic <acronym>PHP</acronym> applications. Check
to ensure the following lines have been added to to ensure the following sections have been added to
<filename>/usr/local/etc/apache/httpd.conf</filename>:</para> <filename>/usr/local/etc/apache/httpd.conf</filename>:</para>
<programlisting>LoadModule php5_module libexec/apache/libphp5.so <programlisting>LoadModule php5_module libexec/apache/libphp5.so</programlisting>
AddModule mod_php5.c
<programlisting>AddModule mod_php5.c
&lt;IfModule mod_php5.c&gt; &lt;IfModule mod_php5.c&gt;
DirectoryIndex index.php index.html DirectoryIndex index.php index.html
&lt;/IfModule&gt; &lt;/IfModule&gt;
&lt;IfModule mod_php5.c&gt; &lt;IfModule mod_php5.c&gt;
AddType application/x-httpd-php .php AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps AddType application/x-httpd-php-source .phps
@ -4535,7 +4537,7 @@ AddModule mod_php5.c
<para>After installing an extension, the <para>After installing an extension, the
<application>Apache</application> server must be reloaded to <application>Apache</application> server must be reloaded to
pick up the new configuration changes.</para> pick up the new configuration changes:</para>
<screen>&prompt.root; <userinput>apachectl graceful</userinput></screen> <screen>&prompt.root; <userinput>apachectl graceful</userinput></screen>
</sect4> </sect4>