/* $Id$ */
-/* conflict between PHP and aolserver */
+/* conflict between PHP and AOLserver */
#define Debug php_Debug
#include "php.h"
#undef Debug
#ifdef HAVE_AOLSERVER
+#ifndef ZTS
+#error AOLserver module only useable in thread-safe mode
+#endif
+
#include "php_ini.h"
#include "php_globals.h"
#include "SAPI.h"
/* $Id$ */
-/* conflict between PHP and aolserver */
+/* conflict between PHP and AOLserver */
#define Debug php_Debug
#include "php.h"
#undef Debug
#ifdef HAVE_AOLSERVER
+#ifndef ZTS
+#error AOLserver module only useable in thread-safe mode
+#endif
+
#include "php_ini.h"
#include "php_globals.h"
#include "SAPI.h"