Apache22 + PHP5 installation issues

robert bsd at bathnetworks.com
Sat Jun 3 14:01:44 PDT 2006


On Sat, 2006-06-03 at 23:02 +0300, Toomas Aas wrote:
> 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>

Toomas,

Thanks

I corrected this and restarted Apache, unfortunately still the same
problem.

Rob







More information about the freebsd-questions mailing list