Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring back isapiSAPI? #17838

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions ext/standard/credits_sapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ CREDIT_LINE("CGI / FastCGI", "Rasmus Lerdorf, Stig Bakken, Shane Caraveo, Dmitry
CREDIT_LINE("CLI", "Edin Kadribasic, Marcus Boerger, Johannes Schlueter, Moriyoshi Koizumi, Xinchen Hui");
CREDIT_LINE("Embed", "Edin Kadribasic");
CREDIT_LINE("FastCGI Process Manager", "Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet");
CREDIT_LINE("ISAPI", "Andi Gutmans, Zeev Suraski");
CREDIT_LINE("litespeed", "George Wang");
CREDIT_LINE("phpdbg", "Felipe Pena, Joe Watkins, Bob Weinand");
2 changes: 2 additions & 0 deletions sapi/isapi/CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ISAPI
Andi Gutmans, Zeev Suraski
10 changes: 10 additions & 0 deletions sapi/isapi/config.w32
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ARG_ENABLE('isapi', 'Build ISAPI version of PHP', 'no');

if (PHP_ISAPI == "yes") {
if (PHP_ZTS == "no") {
WARNING("ISAPI module requires an --enable-zts build of PHP");
} else {
SAPI('isapi', 'php_isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php_isapi.def');
}
}
5 changes: 5 additions & 0 deletions sapi/isapi/php.sym
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
GetFilterVersion
HttpFilterProc
GetExtensionVersion
HttpExtensionProc
ZSLMain
Loading
Loading