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()
2198 persistent_script->dynamic_members.last_used = ZCG(request_time); in persistent_compile_file()
2239 persistent_script->dynamic_members.last_used = ZCG(request_time); in persistent_compile_file()
2269 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2279 if (ZCG(cache_persistent_script)) { in persistent_stream_open_function()
2283 ZCG(cache_opline) == NULL) || in persistent_stream_open_function()
2287 ZCG(cache_opline) == EG(current_execute_data)->opline)) { in persistent_stream_open_function()
2291 handle->opened_path = zend_string_copy(ZCG(cache_persistent_script)->script.filename); in persistent_stream_open_function()
2294 ZCG(cache_opline) = NULL; in persistent_stream_open_function()
2295 ZCG(cache_persistent_script) = NULL; in persistent_stream_open_function()
2304 ZCG(accelerator_enabled)) { in persistent_zend_resolve_path()
2321 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2329 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
2330 ZCG(cache_persistent_script) = persistent_script; in persistent_zend_resolve_path()
2335 ZCG(cache_opline) = NULL; in persistent_zend_resolve_path()
2336 ZCG(cache_persistent_script) = NULL; in persistent_zend_resolve_path()
2360 ZCG(key_len) = 0; in persistent_zend_resolve_path()
2362 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
2363 ZCG(cache_persistent_script) = persistent_script; in persistent_zend_resolve_path()
2369 ZCG(cache_opline) = NULL; in persistent_zend_resolve_path()
2370 ZCG(cache_persistent_script) = NULL; in persistent_zend_resolve_path()
2374 ZCG(cache_opline) = NULL; in persistent_zend_resolve_path()
2375 ZCG(cache_persistent_script) = NULL; in persistent_zend_resolve_path()
2410 if (!ZCG(enabled) || !accel_startup_ok) { in accel_activate()
2411 ZCG(accelerator_enabled) = 0; in accel_activate()
2416 ZCG(auto_globals_mask) = 0; in accel_activate()
2417 ZCG(request_time) = (time_t)sapi_get_request_time(); in accel_activate()
2418 ZCG(cache_opline) = NULL; in accel_activate()
2419 ZCG(cache_persistent_script) = NULL; in accel_activate()
2420 ZCG(include_path_key_len) = 0; in accel_activate()
2421 ZCG(include_path_check) = 1; in accel_activate()
2423 ZCG(cwd) = NULL; in accel_activate()
2424 ZCG(cwd_key_len) = 0; in accel_activate()
2425 ZCG(cwd_check) = 1; in accel_activate()
2428 ZCG(accelerator_enabled) = 0; in accel_activate()
2433 if (ZCG(accel_directives).validate_root) { in accel_activate()
2437 ZCG(root_hash) = 0; in accel_activate()
2439 ZCG(root_hash) = buf.st_ino; in accel_activate()
2440 if (sizeof(buf.st_ino) > sizeof(ZCG(root_hash))) { in accel_activate()
2441 if (ZCG(root_hash) != buf.st_ino) { in accel_activate()
2451 ZCG(root_hash) = 0; in accel_activate()
2458 if (ZCG(counted)) { in accel_activate()
2465 ZCG(counted) = 0; in accel_activate()
2491 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2505 if (ZCSG(last_restart_time) < ZCG(request_time)) { in accel_activate()
2506 ZCSG(last_restart_time) = ZCG(request_time); in accel_activate()
2516 ZCG(accelerator_enabled) = ZCSG(accelerator_enabled); in accel_activate()
2521 if (ZCG(accelerator_enabled) && ZCSG(last_restart_time) != ZCG(last_restart_time)) { in accel_activate()
2523 ZCG(last_restart_time) = ZCSG(last_restart_time); in accel_activate()
2529 ZCG(pcre_reseted) = 0; in accel_activate()
2530 } else if (!ZCG(accelerator_enabled) && !ZCG(pcre_reseted)) { in accel_activate()
2532 ZCG(pcre_reseted) = 1; in accel_activate()
2556 if (ZCG(cwd)) { in accel_post_deactivate()
2557 zend_string_release_ex(ZCG(cwd), 0); in accel_post_deactivate()
2558 ZCG(cwd) = NULL; in accel_post_deactivate()
2561 if (!ZCG(enabled) || !accel_startup_ok) { in accel_post_deactivate()
2567 ZCG(counted) = 0; in accel_post_deactivate()
2625 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2641 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2642 …accel_shared_globals = zend_shared_alloc((ZCG(accel_directives).interned_strings_buffer * 1024 * 1… in zend_accel_init_shm()
2656 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2658 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2662 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2680 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
2919 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
2931 if (!ZCG(accel_directives).enable_cli && in accel_startup()
2940 if (ZCG(enabled) == 0) { in accel_startup()
2973 file_cache_only = ZCG(accel_directives).file_cache_only;
2975 size_t shm_size = ZCG(accel_directives).memory_consumption;
3043 ZCG(last_restart_time) = ZCSG(last_restart_time);
3063 } else if (!ZCG(accel_directives).file_cache) {
3105 ZCG(cwd) = NULL;
3106 ZCG(include_path) = NULL;
3110 ZCG(include_path) = ini_entry->value;
3122 if (ZCG(enabled) && accel_startup_ok &&
3123 ZCG(accel_directives).user_blacklist_filename &&
3124 *ZCG(accel_directives.user_blacklist_filename)) {
3126 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename));
3131 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) {
3158 if (!ZCG(enabled) || !accel_startup_ok) {
3212 if (ZCG(accel_directives).force_restart_timeout) {
3213 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout;
3223 #define accel_deactivate_now() ZCG(counted) = 1; accel_deactivate_sub()
3235 if (ZCG(counted)) {
3250 ZCG(counted) = 1;
3258 if (!ZCG(counted)) {
4201 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4218 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4244 ZCG(mem) = zend_shared_alloc(memory_used + 64);
4245 if (ZCG(mem)) {
4246 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L);
4248 memset(ZCG(mem), 0, memory_used);
4251 char *p = (char*)ZCG(mem);
4263 char *p = (char*)ZCG(mem);
4278 ZCG(mem) = zend_shared_alloc(memory_used);
4279 if (ZCG(mem)) {
4280 memset(ZCG(mem), 0, memory_used);
4283 if (!ZCG(mem)) {
4296 if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) {
4298 …((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ER…
4303 (size_t)ZCG(mem));
4446 ZCG(enabled) = 0;
4447 ZCG(accelerator_enabled) = 0;
4514 ZCG(enabled) = 1;
4798 if (!ZCG(enabled) || !accel_startup_ok) {
4802 if (ZCG(accel_directives).preload && *ZCG(accel_directives).preload) {
4844 if (!ZCG(accel_directives).preload_user
4845 || !*ZCG(accel_directives).preload_user) {
4851 pw = getpwnam(ZCG(accel_directives).preload_user);
4854 …zend_accel_error(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).p…
4898 if (ZCG(accel_directives).preload_user
4899 && *ZCG(accel_directives).preload_user) {
4935 ZCG(auto_globals_mask) = 0;
4936 ZCG(request_time) = (time_t)sapi_get_request_time();
4937 ZCG(cache_opline) = NULL;
4938 ZCG(cache_persistent_script) = NULL;
4939 ZCG(include_path_key_len) = 0;
4940 ZCG(include_path_check) = 1;
4942 ZCG(cwd) = NULL;
4943 ZCG(cwd_key_len) = 0;
4944 ZCG(cwd_check) = 1;
4946 if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {