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

AW: PHP





>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 ?


Yaeh,

You have to add in your httpd.conf file:

For PHP3:

    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps


For PHP4:

    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

Greetings

Mela



Reply to: