ใช้ส่วนตัว (และทำงานได้ดี ... ) 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 ของคุณด้วย CPU-Z
main พร้อม PR103⏩ VC15 / 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)x64 สำหรับ vs16 & vc17 เท่านั้นNON_BLOCKING_IO_php8 สาขาสาขา⏩ VC15 / 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_php8 สาขา⏩ VC15 / 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_php7⏩ VC15 / 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) ค้นหา 'ชื่อผลิตภัณฑ์' ในข้อมูลโดยละเอียดของไฟล์ DLL ใน Windows Explorer 
ดูที่ php_info() 
ดู bininfo.csv
/O2 /GL /MD /Zi/LTCG /OPT:REF,ICF2016-05-18
ฉันสังเกตเห็น ข้อบกพร่อง 2 ข้อ เมื่อใช้ memcache session.handler สำหรับ
session.save_handler = memcache
session.save_path = "tcp://127.0.0.1:11211"
memcache.protocol = ascii มีการล็อคแบบสุ่มบน session_start() ตาม memcache.lock_timeout ดังนั้นฉันจึงตั้ง memcache.lock_timeout = 1 แต่ไม่สามารถแก้ไขปัญหาได้memcache.protocol = binary ข้อผิดพลาดแรกดูเหมือนจะไม่ปรากฏ แต่เซสชันทำลายล้มเหลว! การทดสอบทั้งหมดนั้นทำกับ phpmyadmin ซึ่งเขียนข้อมูลที่ซับซ้อนในเซสชัน ดังนั้นคุณสามารถค้นหา memcachesessionhandlerprate.php memcachesessionhandler การใช้งาน sessionhandlerinterface เพื่อเพิ่มลงใน php.ini ของคุณด้วย config:
session.save_handler = user
auto_prepend_file = c:/path/to/MemcacheSessionHandlerPrepend.php
; session.save_path =
ดูปัญหา #23 และ discution บน stackoverflow