Lines Matching refs:accel_directives

88 	if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) {  in validate_api_restriction()
89 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
276 …N("opcache.use_cwd" , "1", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.use_cwd …
277 …N("opcache.validate_timestamps", "1", PHP_INI_ALL , OnUpdateBool, accel_directives.validate_time…
278 …N("opcache.validate_permission", "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_perm…
280 …N("opcache.validate_root" , "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_root…
282 …N("opcache.dups_fix" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.ignore_dups …
283 …N("opcache.revalidate_path" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.revalidate_pa…
285 …ache.log_verbosity_level" , "1" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.log_verbosity…
286 …mption" , "128" , PHP_INI_SYSTEM, OnUpdateMemoryConsumption, accel_directives.memory_consum…
287 …rings_buffer", "8" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.interned_stri…
288 …ted_files" , "10000", PHP_INI_SYSTEM, OnUpdateMaxAcceleratedFiles, accel_directives.max_accelerat…
289 …percentage" , "5" , PHP_INI_SYSTEM, OnUpdateMaxWastedPercentage, accel_directives.max_wasted_pe…
290 …ncy_checks" , "0" , PHP_INI_ALL , OnUpdateLong, accel_directives.consistency_c…
291 …start_timeout" , "180" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.force_restart…
292 …te_freq" , "2" , PHP_INI_ALL , OnUpdateLong, accel_directives.revalidate_fr…
293 …e_protection", "2" , PHP_INI_ALL , OnUpdateLong, accel_directives.file_update_p…
294 …memory_model", "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.memory_model,…
295 …filename" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.user_blacklis…
296 …_size" , "0" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.max_file_size…
298 …ory" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.protect_memor…
299 …ts" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.save_comments…
301 …el" , DEFAULT_OPTIMIZATION_LEVEL , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.optimization_…
302 …level" , "0" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.opt_debug_lev…
303 …file_override" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_override…
304 …i" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.enable_cli, …
305 …" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.error_log, …
306 …api" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.restrict_api,…
309 … , "/tmp" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.lockfile_path…
311 … NULL, PHP_INI_SYSTEM, OnUpdateString, accel_directives.mmap_base, …
314 …he" , NULL , PHP_INI_SYSTEM, OnUpdateFileCache, accel_directives.file_cache, …
315 …ache_only" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_on…
316 …ache_consistency_checks" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_co…
318 …ache_fallback" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_fa…
321 …ode_pages" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.huge_code_pag…
323 … , "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.preload, …
325 … , "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.preload_user,…
328 … , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.cache_id, …
341 if (ZCG(accel_directives).validate_timestamps) {
406 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
445 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
455 if (ZCG(accel_directives).file_cache) {
478 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
565 if (ZCG(accel_directives).validate_timestamps) {
604 if (ZCG(accel_directives).file_cache) {
605 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
618 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
621 …ent_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).memory_consu…
729 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
730 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
731 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
732 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
734 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
736 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
737 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
739 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
740 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
741 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
742 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
743 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
744 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
745 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
746 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
747 …(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directives).memory_model…
748 …(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directives).user_blackli…
749 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
750 …g(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directives).error_log));
752 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
753 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
754 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
755 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
758 …(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directives).lockfile_pat…
760 …g(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directives).mmap_base));
763 …ives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(accel_direct…
764 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
765 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
767 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
770 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
771 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
772 …&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directives).restrict_api…
774 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
776 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
778 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
781 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));