cvs: /php4 build-defs.h.in /php4/ext/standard info.c
| From: | Sascha Schumann | Date: | Mon, 20 Dec 1999 07:12:58 +0000 |
| Subject: | cvs: /php4 build-defs.h.in /php4/ext/standard info.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8202@lists.php.net to get a copy of this message | ||
sas Mon Dec 20 02:12:58 1999 EDT
Modified files:
/php4 build-defs.h.in
/php4/ext/standard info.c
Log:
Add information about chosen SAPI module to phpinfo()
Index: php4/build-defs.h.in
diff -u php4/build-defs.h.in:1.7 php4/build-defs.h.in:1.8
--- php4/build-defs.h.in:1.7 Fri Dec 3 08:31:40 1999
+++ php4/build-defs.h.in Mon Dec 20 02:12:27 1999
@@ -74,6 +74,7 @@
#define PHP_PGSQL_LIBS ""
#define PHP_PROG_SENDMAIL "@PROG_SENDMAIL@"
#define PHP_REGEX_LIB ""
+#define PHP_SAPI "@PHP_SAPI@"
#define PHP_SOLID_INCLUDE ""
#define PHP_SOLID_LIBS ""
#define PHP_EMPRESS_INCLUDE ""
Index: php4/ext/standard/info.c
diff -u php4/ext/standard/info.c:1.51 php4/ext/standard/info.c:1.52
--- php4/ext/standard/info.c:1.51 Sat Dec 18 17:35:27 1999
+++ php4/ext/standard/info.c Mon Dec 20 02:12:27 1999
@@ -100,6 +100,7 @@
#endif
php_printf("php.ini path: %s<br>\n", CONFIGURATION_FILE_PATH);
php_printf("ZEND_DEBUG=%d<br>\n", ZEND_DEBUG);
+ php_printf("SAPI=" PHP_SAPI "<br>\n");
#ifdef ZTS
php_printf("ZTS is defined");
#else
@@ -313,6 +314,7 @@
CREDIT_LINE("AOLserver SAPI Module", "Sascha Schumann");
CREDIT_LINE("Servlet SAPI Module", "Sam Ruby");
CREDIT_LINE("Roxen SAPI Module", "David Hedbor");
+ CREDIT_LINE("thttpd SAPI Module", "Sascha Schumann");
CREDIT_LINE("Overall Work", "Thies C. Arntzen, Stig Bakken, Shane Caraveo, \
Rasmus Lerdorf, Sascha Schumann, Zeev Suraski, Andrei Zmievski, \
and others");