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

Re: apache and php scripts



On Monday 02 August 2004 14:58, Harland Christofferson hurled the following on 
the wire:
> i am trying to get a .php script to run via apache. i have other
> cgi scripts running for other aliased paths but none for .php.
...
> i have installed the php4 package via apt-get.
> when i click on a .php file, i am prompted to download the file.

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


-- 
nodisclaimer



Reply to: