glfs/content/web/php/php-config.xml

25 lines
696 B
XML
Raw Normal View History

<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>