From 39c578d9bfa679c18501102b8d5df5fc1dee3d21 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 15 Nov 2009 00:24:06 +0000 Subject: [PATCH] Fix bug #49868 --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 5742829769..fd444ab47c 100644 --- a/main/main.c +++ b/main/main.c @@ -2344,7 +2344,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC) #ifdef PHP_WIN32 zend_unset_timeout(TSRMLS_C); #endif - zend_set_timeout(EG(timeout_seconds), 0); + zend_set_timeout(INI_INT("max_execution_time"), 0); } retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS); -- 2.40.0