Skip to content

Commit a68882e

Browse files
committed
Revert "removed sapi/isapi"
This reverts commit 4fedc42.
1 parent 6ccb35e commit a68882e

File tree

10 files changed

+2199
-0
lines changed

10 files changed

+2199
-0
lines changed

sapi/isapi/CREDITS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ISAPI
2+
Andi Gutmans, Zeev Suraski

sapi/isapi/config.m4

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
dnl
2+
dnl $Id$
3+
dnl
4+
5+
PHP_ARG_WITH(isapi, for Zeus ISAPI support,
6+
[ --with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus], no, no)
7+
8+
if test "$PHP_ISAPI" != "no"; then
9+
if test "$PHP_ISAPI" = "yes"; then
10+
ZEUSPATH=/usr/local/zeus # the default
11+
else
12+
ZEUSPATH=$PHP_ISAPI
13+
fi
14+
test -f "$ZEUSPATH/web/include/httpext.h" || AC_MSG_ERROR(Unable to find httpext.h in $ZEUSPATH/web/include)
15+
PHP_BUILD_THREAD_SAFE
16+
AC_DEFINE(WITH_ZEUS, 1, [ ])
17+
PHP_ADD_INCLUDE($ZEUSPATH/web/include)
18+
PHP_SELECT_SAPI(isapi, shared, php7isapi.c)
19+
INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$ZEUSPATH/web/bin/"
20+
fi
21+
22+
dnl ## Local Variables:
23+
dnl ## tab-width: 4
24+
dnl ## End:

sapi/isapi/config.w32

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// vim:ft=javascript
2+
// $Id$
3+
4+
ARG_ENABLE('isapi', 'Build ISAPI version of PHP', 'no');
5+
6+
if (PHP_ISAPI == "yes") {
7+
if (PHP_ZTS == "no") {
8+
WARNING("ISAPI module requires an --enable-zts build of PHP");
9+
} else {
10+
SAPI('isapi', 'php7isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/D PHP7ISAPI_EXPORTS');
11+
ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php7isapi.def');
12+
}
13+
}

sapi/isapi/php.sym

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
GetFilterVersion
2+
HttpFilterProc
3+
GetExtensionVersion
4+
HttpExtensionProc
5+
ZSLMain

0 commit comments

Comments
 (0)