- Add missing <application> tags
- Separate the httpd.conf entries for PHP - s/\./:/ Approved by: ceri@
This commit is contained in:
parent
5d07b0953c
commit
1cbd346196
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=27143
1 changed files with 8 additions and 6 deletions
|
@ -4432,7 +4432,9 @@ DocumentRoot /www/someotherdomain.tld
|
||||||
web content. While some companies, such as µsoft;, have
|
web content. While some companies, such as µsoft;, 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 & mod_php.</para>
|
dynamic web content include
|
||||||
|
<application>mod_perl</application> &
|
||||||
|
<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
|
||||||
<IfModule mod_php5.c>
|
<IfModule mod_php5.c>
|
||||||
DirectoryIndex index.php index.html
|
DirectoryIndex index.php index.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<IfModule mod_php5.c>
|
<IfModule mod_php5.c>
|
||||||
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>
|
||||||
|
|
Loading…
Reference in a new issue