Fatal Error Base address marks unusable memory region. Please setup opcache.file_cache and opcache.file_cache_fallback directives for more convenient Opcache usage.
Set the opcache.mmap_base directive in php.ini to 0x20000000 to solve the problem.
Mapping base of shared memory segments for Windows only. All the PHP processes have to map shared memory into the same address space. This directive allows to manually fix the "Unable to reattach to base address" errors.
- [opcache]
- zend_extension=php_opcache.dll
- opcache.enable=1
- opcache.enable_cli=0
- opcache.memory_consumption=256
- opcache.interned_strings_buffer=16
- opcache.max_accelerated_files=100000
- opcache.max_wasted_percentage=10
- opcache.use_cwd=1
- opcache.validate_permission=1
- opcache.validate_root=1
- opcache.validate_timestamps=1
- opcache.revalidate_freq=5
- opcache.revalidate_path=1
- opcache.save_comments=0
- opcache.load_comments=0
- opcache.fast_shutdown=0
- opcache.enable_file_override=1
- opcache.optimization_level="0x7FFFBFFF"
- opcache.inherited_hack=1
- opcache.dups_fix=0
- opcache.blacklist_filename=
- opcache.max_file_size=0
- opcache.consistency_checks=0
- opcache.log_verbosity_level=
- opcache.lockfile_path=
- opcache.force_restart_timeout=5
- opcache.error_log="D:/server/logs/wuxiancheng.cn.log"
- opcache.opt_debug_level = "0x10000"
- opcache.preferred_memory_model=
- opcache.protect_memory=0
- opcache.restrict_api=""
- opcache.mmap_base="0x20000000"
- opcache.file_cache= ""
- opcache.file_cache_only=0
- opcache.file_cache_fallback=1
- opcache.file_cache_consistency_checks=1
- opcache.file_update_protection=3
- opcache.huge_code_pages=0
复制代码 |