php doesn"t load

php doesn"t load

am 25.09.2007 17:16:29 von oliver

Hi group,

I'm running 5.2.3_1 on FreeBSD 6.2.

When I browse to a .php page, my browser
asks me if I want to save the .php file... It's obviously not been
interpreted at the server before sending to me.

Any ideas?

httpd.conf is laoding php5.

Thanks!
Oliver

Re: php doesn"t load

am 26.09.2007 12:18:26 von ragearc

There are various ways to set the command, depending on your server
configuration. One of the following will probably work. Add ONE the
following lines at the end of your .htaccess file. If unsure which to
use, check with your hosting provider on which version works best for
your configuration.

Code:

AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php
AddHandler cgi-php5 .php