[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache and php scripts



On Mon, 2 Aug 2004 09:56:34 -0400
Harland Christofferson <debian-user@zerocrossings.com> wrote:

> At Monday, 2 August 2004, Joost De Cock <joost@decock.org> wrote:
> 
> *snip*
> 
> >
> >Check out your apache config file:
> >/etc/apache/httpd.conf
> >
> >look for these lines:
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php-source .phps
> >
> >Are they commented out? Then uncomment them. (you don't need the 
> second one)
> >
> >If not, let us know.
> >
> >joost
> >
> they are there, however, they are dependent on <IfModule mod_mime.
> c>. i did not find this module in the Dynamic Shared Object (DSO) 
> Support section of httpd.conf ... should it be there?
> :
> 
>     #
>     # AddType allows you to tweak mime.types without actually editing
>     # it, or to make certain files to be certain types.
>     #
>     # For example, the PHP 3.x module (not part of the Apache
>     # distribution - see http://www.php.net) will typically use:
>     #
>     AddType application/x-httpd-php3 .php3
>     AddType application/x-httpd-php3-source .phps
>     #
>     # And for PHP 4.x, use:
>     #
>     AddType application/x-httpd-php .php
>     AddType application/x-httpd-php-source .phps
> 
>     AddType application/x-tar .tgz
>     AddType image/bmp .bmp
> 
>     # hdml
>     AddType text/x-hdml .hdml

Which php4 package(s) did you install? You will need php4-cgi, if it is
not currently installed.

HTH,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #6:
A Linux machine! because a 486 is a terrible thing to waste!

Attachment: pgp5kjr90gPQB.pgp
Description: PGP signature


Reply to: