httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imrani <>
Subject Re: [users@httpd] Apache2 with Php5
Date Mon, 12 Dec 2005 00:47:35 GMT
Thanks Rich,
  It worked like a charm.

  - Imrani
Rich Bowen <> wrote:
  Imrani wrote:
> Hi,
> I have installed Apache2 with PHP5 support on FreeBSD 6.0 using ports 
> collection. The installation process seemed to have gone fine but for 
> some reason apache is not able to process the PHP files. It displayes 
> all the code on the browser without processing. Does anyone know why 
> this may be happening?

> --> AddType application/x-httpd-php .php
> --> AddType text/html .shtml .php

That second line overrides the first one.
What you want instead is:

AddHandler application/x-httpd-php .php

Rich Bowen

The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail:
" from the digest:
For additional commands, e-mail:


Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
View raw message