mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
31ff91e4df
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1239 af4574ff-66df-0310-9fd7-8a98e5e911e0
25 lines
696 B
XML
25 lines
696 B
XML
<sect2>
|
|
<title>Configuring <application><acronym>PHP</acronym></application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/php.ini</filename>,
|
|
<filename>/etc/pear.conf</filename></para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>To enable <acronym>PHP</acronym> support in the
|
|
<application>Apache</application> web server,
|
|
a new AddType directive must be added to the
|
|
<filename>httpd.conf</filename> file:</para>
|
|
|
|
<screen><userinput>AddType application/x-httpd-php .php</userinput></screen>
|
|
|
|
<para>Also, it can be useful to add an entry for index.php to the
|
|
DirectoryIndex directive of the <filename>httpd.conf</filename>
|
|
file.</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|