From e5bd7c7b2785005e4f19215bfaf68673b4f713d7 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 6 Jun 2006 16:42:02 +0000 Subject: Note in the MESSAGE file the path to the PHP CGI binary to answer an FAQ. --- www/php4/MESSAGE | 18 +++++++++++------- www/php4/Makefile | 3 ++- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'www/php4') diff --git a/www/php4/MESSAGE b/www/php4/MESSAGE index 75be9c3ad30..36f9f086535 100644 --- a/www/php4/MESSAGE +++ b/www/php4/MESSAGE @@ -1,18 +1,22 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.10 2005/10/08 16:51:50 jdolecek Exp $ +$NetBSD: MESSAGE,v 1.11 2006/06/06 16:42:02 jlam Exp $ To process PHP scripts, you will need a PHP-enabled HTTP server. You may -either configure the HTTP server to use PHP as a CGI program, or install a -PHP module for your HTTP server, e.g. ap-php. +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-php4. Some additional packages you may wish to install are: php-dba DBM database access php-iconv character set conversion -Note that php4-pcre, php4-session and php4-xml are no longer -separate packages since 4.3.3, the main PHP4 package has them built-in now. +Note that php4-pcre, php4-session and php4-xml are no longer separate +packages since version 4.3.3 because the main PHP4 package has them +built-in now. -Note php-openssl has been removed as separate package as of 4.4.0nb2, the -main PHP4 package has it built-in now. +Note that php-openssl is no longer a separate package as of version +4.4.0nb2 because the main PHP4 package has it built-in now. =========================================================================== diff --git a/www/php4/Makefile b/www/php4/Makefile index 41a93d6f619..802a2b79bf6 100644 --- a/www/php4/Makefile +++ b/www/php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2006/06/05 18:19:55 minskim Exp $ +# $NetBSD: Makefile,v 1.66 2006/06/06 16:42:02 jlam Exp $ PKGNAME= php-${PHP_BASE_VERS} PKGREVISION= 2 @@ -29,6 +29,7 @@ CONFIGURE_ARGS+= --enable-fastcgi CGIDIR= ${PREFIX}/libexec/cgi-bin EGDIR= ${PREFIX}/share/examples/php +MESSAGE_SUBST+= CGIDIR=${CGIDIR:Q} # On NetBSD ELF platforms, we need to link libgcc.a whole-archive so that # certain symbols from the C++ implementation (__get_eh_context, etc.) -- cgit v1.2.3