Lines Matching refs:accel_directives

52 	if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) {  in validate_api_restriction()
53 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
57 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
264 …N("opcache.use_cwd" , "1", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.use_cwd …
265 …N("opcache.validate_timestamps", "1", PHP_INI_ALL , OnUpdateBool, accel_directives.validate_time…
266 …N("opcache.validate_permission", "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_perm…
268 …N("opcache.validate_root" , "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_root…
270 …N("opcache.dups_fix" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.ignore_dups …
271 …N("opcache.revalidate_path" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.revalidate_pa…
273 …ache.log_verbosity_level" , "1" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.log_verbosity…
274 …mption" , "128" , PHP_INI_SYSTEM, OnUpdateMemoryConsumption, accel_directives.memory_consum…
275 …ngs_buffer", "8" , PHP_INI_SYSTEM, OnUpdateInternedStringsBuffer, accel_directives.interned_stri…
276 …ted_files" , "10000", PHP_INI_SYSTEM, OnUpdateMaxAcceleratedFiles, accel_directives.max_accelerat…
277 …percentage" , "5" , PHP_INI_SYSTEM, OnUpdateMaxWastedPercentage, accel_directives.max_wasted_pe…
278 …hecks" , "0" , PHP_INI_ALL , OnUpdateConsistencyChecks, accel_directives.consistency_c…
279 …start_timeout" , "180" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.force_restart…
280 …te_freq" , "2" , PHP_INI_ALL , OnUpdateLong, accel_directives.revalidate_fr…
281 …e_protection", "2" , PHP_INI_ALL , OnUpdateLong, accel_directives.file_update_p…
282 …memory_model", "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.memory_model,…
283 …filename" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.user_blacklis…
284 …_size" , "0" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.max_file_size…
286 …ory" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.protect_memor…
287 …ts" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.save_comments…
288 …ings" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.record_warnin…
290 …el" , DEFAULT_OPTIMIZATION_LEVEL , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.optimization_…
291 …level" , "0" , PHP_INI_SYSTEM, OnUpdateLong, accel_directives.opt_debug_lev…
292 …file_override" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_override…
293 …i" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.enable_cli, …
294 …" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.error_log, …
295 …api" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.restrict_api,…
298 … , "/tmp" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.lockfile_path…
300 … NULL, PHP_INI_SYSTEM, OnUpdateString, accel_directives.mmap_base, …
303 …he" , NULL , PHP_INI_SYSTEM, OnUpdateFileCache, accel_directives.file_cache, …
304 …ache_only" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_on…
305 …ache_consistency_checks" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_co…
307 …ache_fallback" , "1" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.file_cache_fa…
310 …ode_pages" , "0" , PHP_INI_SYSTEM, OnUpdateBool, accel_directives.huge_code_pag…
312 … , "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.preload, …
314 … , "" , PHP_INI_SYSTEM, OnUpdateStringUnempty, accel_directives.preload_user,…
317 … , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.cache_id, …
349 if (ZCG(accel_directives).validate_timestamps) {
418 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
457 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
467 if (ZCG(accel_directives).file_cache) {
503 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
589 if (ZCG(accel_directives).validate_timestamps) {
627 if (ZCG(accel_directives).file_cache) {
628 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
641 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
644 …ent_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).memory_consu…
754 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
755 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
756 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
757 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
759 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
761 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
762 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
764 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
765 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
766 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
767 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
768 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
769 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
770 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
771 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
772 …(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directives).memory_model…
773 …(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directives).user_blackli…
774 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
775 …g(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directives).error_log));
777 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
778 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
779 …add_assoc_bool(&directives, "opcache.record_warnings", ZCG(accel_directives).record_warni…
780 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
781 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
784 …(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directives).lockfile_pat…
786 …g(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directives).mmap_base));
789 …ives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(accel_direct…
790 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
791 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
793 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
796 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
797 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
798 …&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directives).restrict_api…
800 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
802 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
804 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
807 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));