php5

Gabriel Dragffy gabe at dragffy.com
Tue Sep 25 01:07:39 PDT 2007


On 25 Sep 2007, at 00:20, Thomas Abthorpe wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 24 September 2007 18:59:00 Bill Banks wrote:
>> I just installed php5 but if I goto index.php it wants to download it
>> and not display it. What am I missing?
>
> You are likely missing the following lines from your httpd.conf
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps


Also make sure you compiled the apache module. If installing from  
ports it asks you. However, if you installed from a package it won't  
have this enabled. Assuming you're using apache, natch.


More information about the freebsd-questions mailing list