summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/config.w32.h2
-rw-r--r--main/php.h7
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