Apache22 + PHP5 installation issues

Toomas Aas toomas.aas at raad.tartu.ee
Sat Jun 3 13:02:42 PDT 2006


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>



More information about the freebsd-questions mailing list