애드블럭을 제거하거나 잠시 꺼주세요.


※ 자료설명 ※

윈도우에서 웹서버를 구동하기 위해서 사용하는 Memcached 를 설정하는 방법이다.

 

 

1. https://github.com/nono303/PHP7-memcache-dll

PHP7-memcache-dll - PHP7-memcahe-dll

 

위 사이트에서  Clone or download 버튼으로 프로그램을 다운로드한다.

image.png

 

 

2. 압축파일에서 

memcache.ini
MemcacheSessionHandlerPrepend.php

파일을 APM or NPM 설치폴더에 복사한다. 보통 PHP.ini 파일위치를 찾으면 된다.

 

 

3. memcache.ini 파일을 수정한다.

session.save_handler = memcache
session.save_path = "tcp://127.0.0.1:11211"

 

 

4. PHP.ini 파일을 수정한다.

extension=php_memcache.dll // 추가

session.save_handler = user
auto_prepend_file = 설치경로/MemcacheSessionHandlerPrepend.php
; session.save_path =

 

 

5. dll 파일 복사

php/ext/ 폴더에 php_memcache.dll 파일 복사.

 

6. 서버 재시작.



※ 자료현황 ※
등록일 : 2017-10-20 01:34:15 / 문서노출 : 357 / 다운로드 0


※ 파일 다운로드 ※
파일 이름 : image.png (2.2KB)