httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imrani <priarif...@yahoo.com>
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 <rbowen@rcbowen.com> 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
rbowen@rcbowen.com

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

  


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