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      : [EMAIL PROTECTED]
homepage   : http://www.digibel.org/~staf


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

  • PHP Adrian Nims
    • Re: PHP Jeremy C. Reed
    • staf wagemakers

Reply via email to