Lines Matching refs:ZCG

182 		if (ZCG(cwd)) {  in ZEND_FUNCTION()
183 zend_string_release_ex(ZCG(cwd), 0); in ZEND_FUNCTION()
185 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in ZEND_FUNCTION()
187 if (ZCG(cwd)) { in ZEND_FUNCTION()
188 zend_string_release_ex(ZCG(cwd), 0); in ZEND_FUNCTION()
189 ZCG(cwd) = NULL; in ZEND_FUNCTION()
192 ZCG(cwd_key_len) = 0; in ZEND_FUNCTION()
193 ZCG(cwd_check) = 1; in ZEND_FUNCTION()
198 if (ZCG(cwd)) { in accel_getcwd()
199 return ZCG(cwd); in accel_getcwd()
206 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in accel_getcwd()
207 ZCG(cwd_key_len) = 0; in accel_getcwd()
208 ZCG(cwd_check) = 1; in accel_getcwd()
209 return ZCG(cwd); in accel_getcwd()
215 …if ((((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(acc… in zend_accel_schedule_restart_if_necessary()
230 ZCG(include_path) = new_value; in ZEND_INI_MH()
231 ZCG(include_path_key_len) = 0; in ZEND_INI_MH()
232 ZCG(include_path_check) = 1; in ZEND_INI_MH()
331 if (ZCG(counted)) { in accel_deactivate_sub()
334 ZCG(counted) = 0; in accel_deactivate_sub()
439 if (!ZCG(counted)) { in accel_find_interned_string()
440 if (!ZCG(accelerator_enabled) || accel_activate_add() == FAILURE) { in accel_find_interned_string()
443 ZCG(counted) = 1; in accel_find_interned_string()
520 if (ZCG(counted)) { in accel_new_interned_string_for_php()
554 if (ZCG(counted)) { in accel_init_interned_string_for_php()
752 ZCG(counted) = 1; in accel_use_shm_interned_strings()
754 ZCG(counted) = 0; in accel_use_shm_interned_strings()
850 if (ZCG(accel_directives).force_restart_timeout in accel_is_inactive()
853 …at %ld (after " ZEND_LONG_FMT " seconds), locked by %d", (long)time(NULL), ZCG(accel_directives).f… in accel_is_inactive()
1095 } else if (ZCG(accel_directives).revalidate_freq && in validate_timestamp_and_record()
1096 persistent_script->dynamic_members.revalidate >= ZCG(request_time)) { in validate_timestamp_and_record()
1101 …persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalida… in validate_timestamp_and_record()
1127 ZCG(key_len) = 0; in accel_make_persistent_key()
1133 ZCG(key_len) = 0; in accel_make_persistent_key()
1134 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key()
1136 ZCG(key_len) = 0; in accel_make_persistent_key()
1143 if (EXPECTED(ZCG(cwd_key_len))) { in accel_make_persistent_key()
1144 cwd = ZCG(cwd_key); in accel_make_persistent_key()
1145 cwd_len = ZCG(cwd_key_len); in accel_make_persistent_key()
1156 if (ZCG(cwd_check)) { in accel_make_persistent_key()
1157 ZCG(cwd_check) = 0; in accel_make_persistent_key()
1158 if (ZCG(accelerator_enabled)) { in accel_make_persistent_key()
1178 cwd_len = ZCG(cwd_key_len) = buf + sizeof(buf) - 1 - res; in accel_make_persistent_key()
1179 cwd = ZCG(cwd_key); in accel_make_persistent_key()
1180 memcpy(ZCG(cwd_key), res, cwd_len + 1); in accel_make_persistent_key()
1190 if (EXPECTED(ZCG(include_path_key_len))) { in accel_make_persistent_key()
1191 include_path = ZCG(include_path_key); in accel_make_persistent_key()
1192 include_path_len = ZCG(include_path_key_len); in accel_make_persistent_key()
1193 } else if (!ZCG(include_path) || ZSTR_LEN(ZCG(include_path)) == 0) { in accel_make_persistent_key()
1197 include_path = ZSTR_VAL(ZCG(include_path)); in accel_make_persistent_key()
1198 include_path_len = ZSTR_LEN(ZCG(include_path)); in accel_make_persistent_key()
1200 if (ZCG(include_path_check)) { in accel_make_persistent_key()
1201 ZCG(include_path_check) = 0; in accel_make_persistent_key()
1202 if (ZCG(accelerator_enabled)) { in accel_make_persistent_key()
1204 zend_string *str = accel_find_interned_string(ZCG(include_path)); in accel_make_persistent_key()
1209 str = accel_new_interned_string(zend_string_copy(ZCG(include_path))); in accel_make_persistent_key()
1210 if (str == ZCG(include_path)) { in accel_make_persistent_key()
1221 include_path_len = ZCG(include_path_key_len) = buf + sizeof(buf) - 1 - res; in accel_make_persistent_key()
1222 include_path = ZCG(include_path_key); in accel_make_persistent_key()
1223 memcpy(ZCG(include_path_key), res, include_path_len + 1); in accel_make_persistent_key()
1234 if (UNEXPECTED((size_t)(cwd_len + path_length + include_path_len + 2) >= sizeof(ZCG(key)))) { in accel_make_persistent_key()
1243 memcpy(ZCG(key), path, path_length); in accel_make_persistent_key()
1244 ZCG(key)[path_length] = ':'; in accel_make_persistent_key()
1246 memcpy(ZCG(key) + key_length, cwd, cwd_len); in accel_make_persistent_key()
1250 ZCG(key)[key_length] = ':'; in accel_make_persistent_key()
1252 memcpy(ZCG(key) + key_length, include_path, include_path_len); in accel_make_persistent_key()
1266 if (UNEXPECTED((size_t)(key_length + parent_script_len + 1) >= sizeof(ZCG(key)))) { in accel_make_persistent_key()
1269 ZCG(key)[key_length] = ':'; in accel_make_persistent_key()
1271 memcpy(ZCG(key) + key_length, ZSTR_VAL(parent_script), parent_script_len); in accel_make_persistent_key()
1274 ZCG(key)[key_length] = '\0'; in accel_make_persistent_key()
1275 *key_len = ZCG(key_len) = key_length; in accel_make_persistent_key()
1276 return ZCG(key); in accel_make_persistent_key()
1289 if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) { in zend_accel_invalidate()
1299 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1310 !ZCG(accel_directives).validate_timestamps || in zend_accel_invalidate()
1378 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 64); in store_script_in_file_cache()
1379 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in store_script_in_file_cache()
1382 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 8); in store_script_in_file_cache()
1383 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L); in store_script_in_file_cache()
1385 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used); in store_script_in_file_cache()
1398 if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) { in store_script_in_file_cache()
1400 …((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ER… in store_script_in_file_cache()
1405 (size_t)ZCG(mem)); in store_script_in_file_cache()
1421 …!zend_optimize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZC… in cache_script_in_file_cache()
1438 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1441 …!zend_optimize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZC… in cache_script_in_shared_memory()
1459 (!ZCG(accel_directives).validate_timestamps || in cache_script_in_shared_memory()
1480 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1495 ZCG(mem) = zend_shared_alloc(memory_used + 64); in cache_script_in_shared_memory()
1496 if (ZCG(mem)) { in cache_script_in_shared_memory()
1497 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in cache_script_in_shared_memory()
1499 memset(ZCG(mem), 0, memory_used); in cache_script_in_shared_memory()
1502 char *p = (char*)ZCG(mem); in cache_script_in_shared_memory()
1514 char *p = (char*)ZCG(mem); in cache_script_in_shared_memory()
1529 ZCG(mem) = zend_shared_alloc(memory_used); in cache_script_in_shared_memory()
1530 if (ZCG(mem)) { in cache_script_in_shared_memory()
1531 memset(ZCG(mem), 0, memory_used); in cache_script_in_shared_memory()
1534 if (!ZCG(mem)) { in cache_script_in_shared_memory()
1538 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1555 if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) { in cache_script_in_shared_memory()
1557 …((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ER… in cache_script_in_shared_memory()
1562 (size_t)ZCG(mem)); in cache_script_in_shared_memory()
1591 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1643 if ((mask & n) && !(ZCG(auto_globals_mask) & n)) { in zend_accel_set_auto_globals()
1644 ZCG(auto_globals_mask) |= n; in zend_accel_set_auto_globals()
1663 if (ZCG(record_warnings)) { in persistent_error_cb()
1670 ZCG(num_warnings)++; in persistent_error_cb()
1671 ZCG(warnings) = erealloc(ZCG(warnings), sizeof(zend_recorded_warning) * ZCG(num_warnings)); in persistent_error_cb()
1672 ZCG(warnings)[ZCG(num_warnings)-1] = warning; in persistent_error_cb()
1687 if (!ZCG(num_warnings)) { in free_recorded_warnings()
1691 for (uint32_t i = 0; i < ZCG(num_warnings); i++) { in free_recorded_warnings()
1692 zend_recorded_warning *warning = ZCG(warnings)[i]; in free_recorded_warnings()
1697 efree(ZCG(warnings)); in free_recorded_warnings()
1698 ZCG(warnings) = NULL; in free_recorded_warnings()
1699 ZCG(num_warnings) = 0; in free_recorded_warnings()
1737 if (ZCG(accel_directives).validate_timestamps || in opcache_compile_file()
1738 ZCG(accel_directives).file_update_protection || in opcache_compile_file()
1739 ZCG(accel_directives).max_file_size > 0) { in opcache_compile_file()
1745 …timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? … in opcache_compile_file()
1756 if (ZCG(accel_directives).file_update_protection && in opcache_compile_file()
1757 … ((accel_time_t)(ZCG(request_time) - ZCG(accel_directives).file_update_protection) < timestamp)) { in opcache_compile_file()
1762 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1779 ZCG(record_warnings) = ZCG(accel_directives).record_warnings; in opcache_compile_file()
1780 ZCG(num_warnings) = 0; in opcache_compile_file()
1781 ZCG(warnings) = NULL; in opcache_compile_file()
1790 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1804 ZCG(record_warnings) = 0; in opcache_compile_file()
1827 new_persistent_script->num_warnings = ZCG(num_warnings); in opcache_compile_file()
1828 new_persistent_script->warnings = ZCG(warnings); in opcache_compile_file()
1829 ZCG(num_warnings) = 0; in opcache_compile_file()
1830 ZCG(warnings) = NULL; in opcache_compile_file()
1842 if (ZCG(accel_directives).validate_timestamps) { in opcache_compile_file()
1847 …new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in opcache_compile_file()
1966 if (!file_handle->filename || !ZCG(accelerator_enabled)) { in persistent_compile_file()
1968 ZCG(cache_opline) = NULL; in persistent_compile_file()
1969 ZCG(cache_persistent_script) = NULL; in persistent_compile_file()
1971 && ZCG(accel_directives).file_cache in persistent_compile_file()
1972 && ZCG(enabled) && accel_startup_ok) { in persistent_compile_file()
1977 ZCG(cache_opline) = NULL; in persistent_compile_file()
1978 ZCG(cache_persistent_script) = NULL; in persistent_compile_file()
1980 } else if (!ZCG(accelerator_enabled) || in persistent_compile_file()
1982 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
1985 ZCG(cache_opline) = NULL; in persistent_compile_file()
1986 ZCG(cache_persistent_script) = NULL; in persistent_compile_file()
1993 if (ZCG(cache_persistent_script) && in persistent_compile_file()
1996 ZCG(cache_opline) == NULL) || in persistent_compile_file()
2000 ZCG(cache_opline) == EG(current_execute_data)->opline))) { in persistent_compile_file()
2002 persistent_script = ZCG(cache_persistent_script); in persistent_compile_file()
2003 if (ZCG(key_len)) { in persistent_compile_file()
2004 key = ZCG(key); in persistent_compile_file()
2005 key_length = ZCG(key_len); in persistent_compile_file()
2009 if (!ZCG(accel_directives).revalidate_path) { in persistent_compile_file()
2013 ZCG(cache_opline) = NULL; in persistent_compile_file()
2014 ZCG(cache_persistent_script) = NULL; in persistent_compile_file()
2019 ZCG(cache_opline) = NULL; in persistent_compile_file()
2020 ZCG(cache_persistent_script) = NULL; in persistent_compile_file()
2062 ZCG(cache_opline) = NULL; in persistent_compile_file()
2063 ZCG(cache_persistent_script) = NULL; in persistent_compile_file()
2073 if (!ZCG(counted)) { in persistent_compile_file()
2075 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2080 ZCG(counted) = 1; in persistent_compile_file()
2085 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file()
2102 if (persistent_script && ZCG(accel_directives).validate_timestamps) { in persistent_compile_file()
2121 if (persistent_script && ZCG(accel_directives).consistency_checks in persistent_compile_file()
2122 && persistent_script->dynamic_members.hits % ZCG(accel_directives).consistency_checks == 0) { in persistent_compile_file()
2146 if (!persistent_script && ZCG(accel_directives).file_cache) { in persistent_compile_file()
2162 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2239 persistent_script->dynamic_members.last_used = ZCG(request_time); in persistent_compile_file()
2265 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2275 if (ZCG(cache_persistent_script)) { in persistent_stream_open_function()
2279 ZCG(cache_opline) == NULL) || in persistent_stream_open_function()
2283 ZCG(cache_opline) == EG(current_execute_data)->opline)) { in persistent_stream_open_function()
2287 handle->opened_path = zend_string_copy(ZCG(cache_persistent_script)->script.filename); in persistent_stream_open_function()
2290 ZCG(cache_opline) = NULL; in persistent_stream_open_function()
2291 ZCG(cache_persistent_script) = NULL; in persistent_stream_open_function()
2300 ZCG(accelerator_enabled)) { in persistent_zend_resolve_path()
2317 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2325 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
2326 ZCG(cache_persistent_script) = persistent_script; in persistent_zend_resolve_path()
2331 ZCG(cache_opline) = NULL; in persistent_zend_resolve_path()
2332 ZCG(cache_persistent_script) = NULL; in persistent_zend_resolve_path()
2356 ZCG(key_len) = 0; in persistent_zend_resolve_path()
2358 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
2359 ZCG(cache_persistent_script) = persistent_script; in persistent_zend_resolve_path()
2365 ZCG(cache_opline) = NULL; in persistent_zend_resolve_path()
2366 ZCG(cache_persistent_script) = NULL; in persistent_zend_resolve_path()
2370 ZCG(cache_opline) = NULL; in persistent_zend_resolve_path()
2371 ZCG(cache_persistent_script) = NULL; in persistent_zend_resolve_path()
2406 if (!ZCG(enabled) || !accel_startup_ok) { in accel_activate()
2407 ZCG(accelerator_enabled) = 0; in accel_activate()
2412 ZCG(auto_globals_mask) = 0; in accel_activate()
2413 ZCG(request_time) = (time_t)sapi_get_request_time(); in accel_activate()
2414 ZCG(cache_opline) = NULL; in accel_activate()
2415 ZCG(cache_persistent_script) = NULL; in accel_activate()
2416 ZCG(include_path_key_len) = 0; in accel_activate()
2417 ZCG(include_path_check) = 1; in accel_activate()
2419 ZCG(cwd) = NULL; in accel_activate()
2420 ZCG(cwd_key_len) = 0; in accel_activate()
2421 ZCG(cwd_check) = 1; in accel_activate()
2424 ZCG(accelerator_enabled) = 0; in accel_activate()
2429 if (ZCG(accel_directives).validate_root) { in accel_activate()
2433 ZCG(root_hash) = 0; in accel_activate()
2435 ZCG(root_hash) = buf.st_ino; in accel_activate()
2436 if (sizeof(buf.st_ino) > sizeof(ZCG(root_hash))) { in accel_activate()
2437 if (ZCG(root_hash) != buf.st_ino) { in accel_activate()
2447 ZCG(root_hash) = 0; in accel_activate()
2454 if (ZCG(counted)) { in accel_activate()
2461 ZCG(counted) = 0; in accel_activate()
2487 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2501 if (ZCSG(last_restart_time) < ZCG(request_time)) { in accel_activate()
2502 ZCSG(last_restart_time) = ZCG(request_time); in accel_activate()
2512 ZCG(accelerator_enabled) = ZCSG(accelerator_enabled); in accel_activate()
2517 if (ZCG(accelerator_enabled) && ZCSG(last_restart_time) != ZCG(last_restart_time)) { in accel_activate()
2519 ZCG(last_restart_time) = ZCSG(last_restart_time); in accel_activate()
2525 ZCG(pcre_reseted) = 0; in accel_activate()
2526 } else if (!ZCG(accelerator_enabled) && !ZCG(pcre_reseted)) { in accel_activate()
2528 ZCG(pcre_reseted) = 1; in accel_activate()
2552 if (ZCG(cwd)) { in accel_post_deactivate()
2553 zend_string_release_ex(ZCG(cwd), 0); in accel_post_deactivate()
2554 ZCG(cwd) = NULL; in accel_post_deactivate()
2557 if (!ZCG(enabled) || !accel_startup_ok) { in accel_post_deactivate()
2563 ZCG(counted) = 0; in accel_post_deactivate()
2621 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2637 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2638 …accel_shared_globals = zend_shared_alloc((ZCG(accel_directives).interned_strings_buffer * 1024 * 1… in zend_accel_init_shm()
2652 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2654 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2658 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2676 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
2915 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
2927 if (!ZCG(accel_directives).enable_cli && in accel_startup()
2936 if (ZCG(enabled) == 0) { in accel_startup()
2969 file_cache_only = ZCG(accel_directives).file_cache_only;
2971 size_t shm_size = ZCG(accel_directives).memory_consumption;
3039 ZCG(last_restart_time) = ZCSG(last_restart_time);
3059 } else if (!ZCG(accel_directives).file_cache) {
3101 ZCG(cwd) = NULL;
3102 ZCG(include_path) = NULL;
3106 ZCG(include_path) = ini_entry->value;
3118 if (ZCG(enabled) && accel_startup_ok &&
3119 ZCG(accel_directives).user_blacklist_filename &&
3120 *ZCG(accel_directives.user_blacklist_filename)) {
3122 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename));
3127 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) {
3154 if (!ZCG(enabled) || !accel_startup_ok) {
3208 if (ZCG(accel_directives).force_restart_timeout) {
3209 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout;
3219 #define accel_deactivate_now() ZCG(counted) = 1; accel_deactivate_sub()
3231 if (ZCG(counted)) {
3246 ZCG(counted) = 1;
3254 if (!ZCG(counted)) {
4197 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4214 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4240 ZCG(mem) = zend_shared_alloc(memory_used + 64);
4241 if (ZCG(mem)) {
4242 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L);
4244 memset(ZCG(mem), 0, memory_used);
4247 char *p = (char*)ZCG(mem);
4259 char *p = (char*)ZCG(mem);
4274 ZCG(mem) = zend_shared_alloc(memory_used);
4275 if (ZCG(mem)) {
4276 memset(ZCG(mem), 0, memory_used);
4279 if (!ZCG(mem)) {
4292 if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) {
4294 …((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ER…
4299 (size_t)ZCG(mem));
4442 ZCG(enabled) = 0;
4443 ZCG(accelerator_enabled) = 0;
4510 ZCG(enabled) = 1;
4794 if (!ZCG(enabled) || !accel_startup_ok) {
4798 if (ZCG(accel_directives).preload && *ZCG(accel_directives).preload) {
4840 if (!ZCG(accel_directives).preload_user
4841 || !*ZCG(accel_directives).preload_user) {
4847 pw = getpwnam(ZCG(accel_directives).preload_user);
4850 …zend_accel_error(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).p…
4894 if (ZCG(accel_directives).preload_user
4895 && *ZCG(accel_directives).preload_user) {
4931 ZCG(auto_globals_mask) = 0;
4932 ZCG(request_time) = (time_t)sapi_get_request_time();
4933 ZCG(cache_opline) = NULL;
4934 ZCG(cache_persistent_script) = NULL;
4935 ZCG(include_path_key_len) = 0;
4936 ZCG(include_path_check) = 1;
4938 ZCG(cwd) = NULL;
4939 ZCG(cwd_key_len) = 0;
4940 ZCG(cwd_check) = 1;
4942 if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {