Lines Matching refs:accel_directives
51 if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) { in validate_api_restriction()
52 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
56 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
244 …N("opcache.use_cwd" , "1", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.use_cwd …
245 …N("opcache.validate_timestamps", "1", PHP_INI_ALL , OnUpdateBool, accel_directives.validate_time…
246 …N("opcache.validate_permission", "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_perm…
248 …N("opcache.validate_root" , "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_root…
250 …N("opcache.dups_fix" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.ignore_dups …
251 …N("opcache.revalidate_path" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.revalidate_pa…
253 …ache.log_verbosity_level" , "1" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.log_verbosity…
254 …mption" , "128" , PHP_INI_SYSTEM, OnUpdateMemoryConsumption, accel_directives.memory_consum…
255 …rings_buffer", "8" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.interned_stri…
256 …ted_files" , "10000", PHP_INI_SYSTEM, OnUpdateMaxAcceleratedFiles, accel_directives.max_accelerat…
257 …percentage" , "5" , PHP_INI_SYSTEM, OnUpdateMaxWastedPercentage, accel_directives.max_wasted_pe…
258 …hecks" , "0" , PHP_INI_ALL , OnUpdateConsistencyChecks, accel_directives.consistency_c…
259 …start_timeout" , "180" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.force_restart…
260 …te_freq" , "2" , PHP_INI_ALL , OnUpdateLong, accel_directives.revalidate_fr…
261 …e_protection", "2" , PHP_INI_ALL , OnUpdateLong, accel_directives.file_update_p…
262 …memory_model", "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.memory_model,…
263 …filename" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.user_blacklis…
264 …_size" , "0" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.max_file_size…
266 …ory" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.protect_memor…
267 …ts" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.save_comments…
268 …ings" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.record_warnin…
270 …el" , DEFAULT_OPTIMIZATION_LEVEL , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.optimization_…
271 …level" , "0" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.opt_debug_lev…
272 …file_override" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_override…
273 …i" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.enable_cli, …
274 …" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.error_log, …
275 …api" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.restrict_api,…
278 … , "/tmp" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.lockfile_path…
280 … NULL, PHP_INI_SYSTEM, OnUpdateString, accel_directives.mmap_base, …
283 …he" , NULL , PHP_INI_SYSTEM, OnUpdateFileCache, accel_directives.file_cache, …
284 …ache_only" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_on…
285 …ache_consistency_checks" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_co…
287 …ache_fallback" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_fa…
290 …ode_pages" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.huge_code_pag…
292 … , "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.preload, …
294 … , "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.preload_user,…
297 … , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.cache_id, …
329 if (ZCG(accel_directives).validate_timestamps) {
398 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
437 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
447 if (ZCG(accel_directives).file_cache) {
483 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
569 if (ZCG(accel_directives).validate_timestamps) {
607 if (ZCG(accel_directives).file_cache) {
608 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
621 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
624 …ent_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).memory_consu…
734 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
735 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
736 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
737 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
739 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
741 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
742 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
744 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
745 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
746 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
747 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
748 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
749 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
750 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
751 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
752 …(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directives).memory_model…
753 …(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directives).user_blackli…
754 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
755 …g(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directives).error_log));
757 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
758 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
759 …add_assoc_bool(&directives, "opcache.record_warnings", ZCG(accel_directives).record_warni…
760 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
761 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
764 …(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directives).lockfile_pat…
766 …g(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directives).mmap_base));
769 …ives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(accel_direct…
770 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
771 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
773 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
776 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
777 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
778 …&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directives).restrict_api…
780 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
782 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
784 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
787 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));