pkgsrc/www/ap-php4/MESSAGE
jdolecek 98cd00ba4e update MESSAGE with instructions for Apache 2.x, which needs AddHandler
rather than AddType

problem reported in pkg/23536 by Makoto Fujiwara
2003-12-17 20:10:41 +00:00

23 lines
756 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.4 2003/12/17 20:10:41 jdolecek Exp $
In order to use this module in your Apache 1.x installation, you need to
add the following to your httpd.conf file:
LoadModule php4_module lib/httpd/mod_php4.so
AddType application/x-httpd-php .php
You may also add following if you still use .php3 files:
AddType application/x-httpd-php .php3
For Apache 2.x installation, you need following:
LoadModule php4_module lib/httpd/mod_php4.so
AddHandler application/x-httpd-php .php
You may also add following if you still use .php3 files:
AddHandler application/x-httpd-php .php3
===========================================================================