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

Re: PHP



On Wed, Oct 25, 2000 at 01:36:58PM +0300, Adrian Nims wrote:
> I try to use PHP language in connection wiht web, I'm on debian potato
> and using apache web server 1.2.6. I have the following problem: when I
> run a php file in netscape it appears a window "Save as ..." instead of
> executing my php file. Does anybody know how can I solve this ?

Add the next lines to your srm.conf:

AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps

and restart apache.

This should solve the problem...

-- 
Staf Wagemakers

email      : staf@digibel.org
homepage   : http://www.digibel.org/~staf



Reply to: