diff options
author | tv <tv@pkgsrc.org> | 1999-05-03 19:51:26 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-05-03 19:51:26 +0000 |
commit | 05da7e3f87c057e2c9d0188d75a271ca2c6bfc00 (patch) | |
tree | b86569aac60d4dbf95681309cabe2e4808c1d3be /www/ap-php3 | |
parent | 0e52b10d4f3bddb695b9453f50401169c233e50d (diff) | |
download | pkgsrc-05da7e3f87c057e2c9d0188d75a271ca2c6bfc00.tar.gz |
Apache server module, embeds PHP3 into the Apache web server.
Diffstat (limited to 'www/ap-php3')
-rw-r--r-- | www/ap-php3/Makefile | 22 | ||||
-rw-r--r-- | www/ap-php3/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/ap-php3/pkg/DESCR | 2 | ||||
-rw-r--r-- | www/ap-php3/pkg/MESSAGE | 12 | ||||
-rw-r--r-- | www/ap-php3/pkg/PLIST | 2 |
5 files changed, 39 insertions, 0 deletions
diff --git a/www/ap-php3/Makefile b/www/ap-php3/Makefile new file mode 100644 index 00000000000..ba7f5f12aad --- /dev/null +++ b/www/ap-php3/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/05/03 19:51:26 tv Exp $ +# + +PKGNAME= ap-${DISTNAME} + +FILESDIR= ${PKGSRCDIR}/www/php3/files +PATCHDIR= ${PKGSRCDIR}/www/php3/patches + +DEPENDS+= apache-1.3.6p0:../../www/apache + +USE_PERL5= yes + +CONFIGURE_ARGS+=--with-apxs=${LOCALBASE}/sbin/apxs +CONFIGURE_ENV+= PERL_PATH=${LOCALBASE}/bin/perl + +BUILDING_SERVER_MODULE=yes + +do-install: + @cd ${WRKSRC} && ${CP} libphp3.so mod_php3.so + @${PREFIX}/sbin/apxs -i ${WRKSRC}/mod_php3.so + +.include "../php3/Makefile" diff --git a/www/ap-php3/pkg/COMMENT b/www/ap-php3/pkg/COMMENT new file mode 100644 index 00000000000..c2dba556596 --- /dev/null +++ b/www/ap-php3/pkg/COMMENT @@ -0,0 +1 @@ +PHP3 server module for Apache diff --git a/www/ap-php3/pkg/DESCR b/www/ap-php3/pkg/DESCR new file mode 100644 index 00000000000..6eec9293d68 --- /dev/null +++ b/www/ap-php3/pkg/DESCR @@ -0,0 +1,2 @@ +PHP is a programming language designed to be embedded into web pages. +This module includes support for embedding PHP into the Apache web server. diff --git a/www/ap-php3/pkg/MESSAGE b/www/ap-php3/pkg/MESSAGE new file mode 100644 index 00000000000..3d2684a8927 --- /dev/null +++ b/www/ap-php3/pkg/MESSAGE @@ -0,0 +1,12 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 1999/05/03 19:51:26 tv Exp $ + +To add this to your Apache server, you will need to add the following +lines to the appropriate place in your httpd.conf file: + + LoadModule php3_module lib/httpd/mod_php3.so + + AddModule mod_php3.c + AddType application/x-httpd-php3 .php3 + +=========================================================================== diff --git a/www/ap-php3/pkg/PLIST b/www/ap-php3/pkg/PLIST new file mode 100644 index 00000000000..38b27785dda --- /dev/null +++ b/www/ap-php3/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/03 19:51:26 tv Exp $ +lib/httpd/mod_php3.so |