Philip Wege wrote:
Unable to get php to work through ports system:
<snip>
I got a feeling im missing config lines that needs to be added to
httpd.conf , can anyone help ?
You need "AddModule" in addition to "LoadModule"; and
the real crux of the issue is probably the lack of "AddType"
directives. Maybe this will help?
==============================
# grep php /usr/local/etc/apache/httpd.conf
LoadModule php5_module libexec/apache/libphp5.so
AddModule mod_php5.c
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html
<IfModule !mod_php4.c>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3 .html
AddType application/x-httpd-php3-source .php3s
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .html .asp .php3
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .html .asp
=================================
Kevin Kinsey
DaleCo, S.P.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"