From a9fcfb133cf9a060703d844288eacc01ead16b4c Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Fri, 1 Mar 2002 00:16:58 +0000 Subject: [PATCH] turn on force redirect for windows --- main/config.w32.h | 2 +- main/php.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/main/config.w32.h b/main/config.w32.h index c39607e788..2f95a3301b 100644 --- a/main/config.w32.h +++ b/main/config.w32.h @@ -34,7 +34,7 @@ /* #define HAVE_CRYPT_H 1 */ /* set to enable force cgi redirect */ -#define FORCE_CGI_REDIRECT 0 +#define FORCE_CGI_REDIRECT 1 /* should be added to runtime config*/ #define PHP_URL_FOPEN 1 diff --git a/main/php.h b/main/php.h index bfdf0680eb..e17d6d886a 100644 --- a/main/php.h +++ b/main/php.h @@ -42,6 +42,10 @@ #define sprintf php_sprintf #endif +/* PHP's DEBUG value must match Zend's ZEND_DEBUG value */ +#undef PHP_DEBUG +#define PHP_DEBUG ZEND_DEBUG + #ifdef PHP_WIN32 #include "tsrm_win32.h" #include "win95nt.h" @@ -59,9 +63,6 @@ #include "php_regex.h" -/* PHP's DEBUG value must match Zend's ZEND_DEBUG value */ -#undef PHP_DEBUG -#define PHP_DEBUG ZEND_DEBUG #define APACHE 0 -- 2.40.0