Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
Re: [SLE] Re: [SWLUG] Re: [SLE] Configuring Apache for php on SuSE 9.3 Pro
  • From: peter <apvx95@xxxxxxxxxxxxx>
  • Date: Thu, 11 May 2006 18:58:03 +0100
  • Message-id: <44637B2B.1000609@xxxxxxxxxxxxx>
Per Jessen wrote:

Does your apache config have a line like this:
AddType application/x-httpd-php php



/Per Jessen, Z├╝rich

Hi Per,

Yes. It's in /etc/apache2/conf.d/php4.conf

# Added by PB 09.05.2006

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 9524288
</Files>

# End PB addition 09.15.2006

<IfModule sapi_apache2.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.php4
</IfModule>


Peter


< Previous Next >
Follow Ups