#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");*/
+ if (sapi_module.name)
+ php_printf("SAPI=%s<br>\n", sapi_module.name);
#ifdef ZTS
php_printf("ZTS is defined");
#else
/* this structure is static (as in "it does not change") */
static sapi_module_struct sapi_module = {
- "PHP Language",
+ "AOLserver",
php_ns_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
sapi_module_struct sapi_module = {
- "PHP Language", /* name */
+ "Apache", /* name */
php_module_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
static sapi_module_struct sapi_module = {
- "PHP Language", /* name */
+ "CGI", /* name */
php_module_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
static sapi_module_struct sapi_module = {
- "PHP Language", /* name */
+ "ISAPI", /* name */
php_isapi_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
void pike_module_exit(void);
static sapi_module_struct sapi_module = {
- "PHP Language",
+ "Roxen",
php_module_startup, /* startup */
pike_module_exit, /* shutdown */
*/
static sapi_module_struct sapi_module = {
- "PHP Language", /* name */
+ "Java Servlet", /* name */
php_module_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
}
static sapi_module_struct sapi_module = {
- "PHP Language",
+ "thttpd",
php_module_startup,
php_module_shutdown_wrapper,