summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-06 16:42:02 +0000
committerjlam <jlam>2006-06-06 16:42:02 +0000
commitfca473ff889ebb2f47a84aea8086b4743141be9c (patch)
tree6e40b4901a67d25d6e33b340aabd16439103a41e /lang
parent56f12c493a37f9051d465fcffc76a462f7bf42e4 (diff)
downloadpkgsrc-fca473ff889ebb2f47a84aea8086b4743141be9c.tar.gz
Note in the MESSAGE file the path to the PHP CGI binary to answer an FAQ.
Diffstat (limited to 'lang')
-rw-r--r--lang/php5/MESSAGE13
-rw-r--r--lang/php5/Makefile3
2 files changed, 12 insertions, 4 deletions
diff --git a/lang/php5/MESSAGE b/lang/php5/MESSAGE
index 9903a4c390f..2b87aa9b659 100644
--- a/lang/php5/MESSAGE
+++ b/lang/php5/MESSAGE
@@ -1,6 +1,13 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.5 2005/12/05 20:50:26 rillig Exp $
+$NetBSD: MESSAGE,v 1.6 2006/06/06 16:42:02 jlam Exp $
-Note php-openssl has been removed as separate package as of 5.0.5nb1, the
-main PHP5 package has it built-in now.
+To process PHP scripts, you will need a PHP-enabled HTTP server. You may
+either configure the HTTP server to use the PHP CGI binary located in
+
+ ${CGIDIR}/php
+
+or you may install a PHP module for your HTTP server, e.g. ap-php5.
+
+Note that php-openssl is no longer a separate package as of version
+5.0.5nb1 because the main PHP5 package has it built-in now.
===========================================================================
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 9a492aa65e7..76a4111e3c4 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2006/06/05 17:22:39 minskim Exp $
+# $NetBSD: Makefile,v 1.36 2006/06/06 16:42:02 jlam Exp $
PKGNAME= php-${PHP_BASE_VERS}
PKGREVISION= 1
@@ -27,6 +27,7 @@ CONFIGURE_ARGS+= --enable-fastcgi
CGIDIR= ${PREFIX}/libexec/cgi-bin
EGDIR= ${PREFIX}/share/examples/php
+MESSAGE_SUBST+= CGIDIR=${CGIDIR:Q}
CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini
OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR}