找回密码
 新建账号

PHP Fatal Error Base address marks unusable memory region

[复制链接]
php 发表于 2018/4/30 01:10 | 显示全部楼层 |阅读模式
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.
  1. [opcache]
  2. zend_extension=php_opcache.dll
  3. opcache.enable=1
  4. opcache.enable_cli=0
  5. opcache.memory_consumption=256
  6. opcache.interned_strings_buffer=16
  7. opcache.max_accelerated_files=100000
  8. opcache.max_wasted_percentage=10
  9. opcache.use_cwd=1
  10. opcache.validate_permission=1
  11. opcache.validate_root=1
  12. opcache.validate_timestamps=1
  13. opcache.revalidate_freq=5
  14. opcache.revalidate_path=1
  15. opcache.save_comments=0
  16. opcache.load_comments=0
  17. opcache.fast_shutdown=0
  18. opcache.enable_file_override=1
  19. opcache.optimization_level="0x7FFFBFFF"
  20. opcache.inherited_hack=1
  21. opcache.dups_fix=0
  22. opcache.blacklist_filename=
  23. opcache.max_file_size=0
  24. opcache.consistency_checks=0
  25. opcache.log_verbosity_level=
  26. opcache.lockfile_path=
  27. opcache.force_restart_timeout=5
  28. opcache.error_log="D:/server/logs/wuxiancheng.cn.log"
  29. opcache.opt_debug_level = "0x10000"
  30. opcache.preferred_memory_model=
  31. opcache.protect_memory=0
  32. opcache.restrict_api=""
  33. opcache.mmap_base="0x20000000"
  34. opcache.file_cache= ""
  35. opcache.file_cache_only=0
  36. opcache.file_cache_fallback=1
  37. opcache.file_cache_consistency_checks=1
  38. opcache.file_update_protection=3
  39. opcache.huge_code_pages=0
复制代码

手机版|轻松E站

GMT+8, 2024/3/19 10:35

快速回复 返回顶部 返回列表