개인적으로 사용 (그리고 잘 작동합니다 ...) x64 AVX NTS 버전
memcache.ini 구성 파일을 참조하십시오
php -i | findstr Compiler
결과 예 :
Compiler => MSVC 19.31.30818
Compiler => 2022
VS17 = Visual C ++ 2022> MSVC 19. 3X & 19. 4X > 도구 세트 14. 3X & 14. 4X
VS16 = Visual C ++ 2019> MSVC 19. 2X > 도구 세트 14. 2X
VC15 = Visual C ++ 2017> MSVC 19. 1X > 도구 세트 14. 1X
VC14 = Visual C ++ 2015> MSVC 19. 0X > 도구 세트 14. 0x
php -i | findstr Architecture
결과 예 : 결과 :
Architecture => x64
php -i | findstr Thread
결과 예 : 결과 :
Thread Safety => disabled
NTS = 비활성화
TS = 활성화
CPU-Z로 CPU 지원 지침을 확인하십시오
mainVC15 / VS16 / VS17
- 8.2 패치
php-8.2.x_memcache.dll PHP-SRC 8.2.13 (API 20220829)php-8.3.x_memcache.dll PHP-SRC 8.3.0 (API 20230831)php-8.4.x_memcache.dll PHP-SRC 8.4.0RC1 (API 20240924)vs16 및 vc17 의 경우 x64 만NON_BLOCKING_IO_php8VC15 / VS16 / VS17
- 8.0 패치
php-8.1.x_memcache.dll PHP-SRC 8.1.10 (API 20210902)php-8.0.x_memcache.dll PHP-SRC 8.0.23 (API 20200930) NON_BLOCKING_IO_php8VC15 / VS16
php-7.4.x_memcache.dll PHP-SRC 7.4.13 (API 20190902)php-7.3.x_memcache.dll PHP-SRC 7.3.25 (API 20180731)php-7.2.x_memcache.dll PHP-SRC 7.2.34 (API 20170718) NON_BLOCKING_IO_php7VC15 / VS16
php-7.1.x_memcache.dll PHP-SRC 7.1.33 (API 20160303) VC14
php-7.1.x_memcache.dll PHP-SRC 7.1.0 (API 20160303)php-7.0.x_memcache.dll PHP-SRC 7.0.6 (API 20151012) Windows 탐색기에서 DLL 파일의 자세한 정보에서 '제품 이름'을 찾으십시오. 
php_info() 를보십시오. 
bininfo.csv를보십시오
/O2 /GL /MD /Zi/LTCG /OPT:REF,ICF2016-05-18
memcache session.handler를 구현할 때 2 개의 버그가 나타났습니다
session.save_handler = memcache
session.save_path = "tcp://127.0.0.1:11211"
memcache.protocol = ascii 사용하면 memcache.lock_timeout 에 따라 session_start() 에 임의의 잠금이 있으므로 memcache.lock_timeout = 1 설정했지만 문제를 해결하지는 않습니다 (눈에 띄지 않게 만듭니다.)memcache.protocol = binary 사용하면 첫 번째 버그가 나타나지 않지만 세션 파괴가 실패했습니다! 그 모든 테스트는 Phpmyadmin에서 수행되었으며 세션에서 복잡한 데이터를 작성했습니다. 따라서 memcachesessionhandlerprepend.php를 찾을 수 있습니다. memcachesessionhandler를 구현하여 sessionhandlerinterface를 구현하여 구성을 통해 php.ini 에 추가 할 수 있습니다.
session.save_handler = user
auto_prepend_file = c:/path/to/MemcacheSessionHandlerPrepend.php
; session.save_path =
STACKOVERFLOW의 문제 #23 및 편의를 참조하십시오