glfs/content/web/php/php-config.xml
Larry Lawrence 31ff91e4df edited Part VII
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1239 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-29 14:19:14 +00:00

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>