diff options
author | taca <taca> | 2011-08-12 12:24:52 +0000 |
---|---|---|
committer | taca <taca> | 2011-08-12 12:24:52 +0000 |
commit | 6a917b72718acca0371a0cacbdea241be0882270 (patch) | |
tree | 56ca661bb0cf34164fe770180f415dcec81d2a4a /www/ap-php | |
parent | d5b55d009cf94e122941325106fbf29138a2b108 (diff) | |
download | pkgsrc-6a917b72718acca0371a0cacbdea241be0882270.tar.gz |
Correct apache's module name in the MESSAGE file.
Bump PKGREVISION.
Diffstat (limited to 'www/ap-php')
-rw-r--r-- | www/ap-php/MESSAGE | 6 | ||||
-rw-r--r-- | www/ap-php/Makefile | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/www/ap-php/MESSAGE b/www/ap-php/MESSAGE index 5aa74204b29..ff220a83d53 100644 --- a/www/ap-php/MESSAGE +++ b/www/ap-php/MESSAGE @@ -1,10 +1,10 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.2 2005/03/30 03:25:00 darcy Exp $ +$NetBSD: MESSAGE,v 1.3 2011/08/12 12:24:52 taca 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 php${PKG_PHP_VERSION}_module lib/httpd/mod_php${PKG_PHP_VERSION}.so + LoadModule php${PKG_PHP_MAJOR_VERS}_module lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so AddType application/x-httpd-php .php You may also add following if you still use .php3 files: @@ -13,7 +13,7 @@ You may also add following if you still use .php3 files: For Apache 2.x installation, you need following: - LoadModule php${PKG_PHP_VERSION}_module lib/httpd/mod_php${PKG_PHP_VERSION}.so + LoadModule php${PKG_PHP_MAJOR_VERS}_module lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so AddHandler application/x-httpd-php .php You may also add following if you still use .php3 files: diff --git a/www/ap-php/Makefile b/www/ap-php/Makefile index 1bbfc351bcb..9ed97f626a5 100644 --- a/www/ap-php/Makefile +++ b/www/ap-php/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2010/12/13 13:18:20 taca Exp $ +# $NetBSD: Makefile,v 1.25 2011/08/12 12:24:52 taca Exp $ # PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_BASE_VERS} +PKGREVISION= 1 COMMENT= Apache (${PKG_APACHE}) module for ${PKG_PHP} PKG_DESTDIR_SUPPORT= user-destdir |