diff -uNr php4-4.3.10.orig/ext/standard/dl.c php4-4.3.10/ext/standard/dl.c
--- php4-4.3.10.orig/ext/standard/dl.c	2003-01-29 07:40:24.000000000 -0800
+++ php4-4.3.10/ext/standard/dl.c	2005-03-03 21:31:18.000000000 -0800
@@ -56,15 +56,6 @@
 {
 	pval **file;
 
-#ifdef ZTS
-	if ((strncmp(sapi_module.name, "cgi", 3)!=0) && 
-		(strcmp(sapi_module.name, "cli")!=0) &&
-		(strncmp(sapi_module.name, "embed", 5)!=0)) {
-		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not supported in multithreaded Web servers - use extension statements in your php.ini");
-		RETURN_FALSE;
-	}
-#endif
-
 	/* obtain arguments */
 	if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &file) == FAILURE) {
 		WRONG_PARAM_COUNT;

