Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jun 2006 23:02:37 +0300
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        robert <bsd@bathnetworks.com>
Cc:        Free BSD <freebsd-questions@freebsd.org>
Subject:   Re: Apache22 + PHP5 installation issues
Message-ID:  <4481EADD.3070501@raad.tartu.ee>
In-Reply-To: <1149358324.9348.25.camel@localhost.localdomain>
References:  <1149358324.9348.25.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
robert wrote:

> My httpd.conf has:
> 
> LoadModule php5_module        libexec/apache22/libphp5.so
> 
> To which I have added:
> 
> AddType application/x- httpd-php .php
> AddType application/x- httpd-php-source .phps
                         ^
You should not have a space here

> I have also tried adding index.php to the DirectoryIndex
> 
> I have to follow the handbook and tried this:
> 
> <IfModule php5_module>
>         DirectoryIndex index.php index.html
> </IfModule>
> <IfModule php5_module>
> AddType application/x- httpd-php .php
> AddType application/x- httpd-php-source .phps
                         ^
                 Here too
> </IfModule>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4481EADD.3070501>