"미디어위키 $wgMemCachedServers"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
4번째 줄: 4번째 줄:
* 기본값: <code>[ '127.0.0.1:11000' ]</code>
* 기본값: <code>[ '127.0.0.1:11000' ]</code>


<source lang='php'>
<syntaxhighlight lang='php'>
$wgMemCachedServers = [
$wgMemCachedServers = [
   "127.0.0.1:11000", # one gig on this box
   "127.0.0.1:11000", # one gig on this box
   [ "192.168.0.1:11000", 2 ] # two gigs on the other box
   [ "192.168.0.1:11000", 2 ] # two gigs on the other box
];
];
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
18번째 줄: 18번째 줄:
* https://www.mediawiki.org/wiki/Memcached
* https://www.mediawiki.org/wiki/Memcached


[[분류: 미디어위키 환경변수]]
[[분류:미디어위키 설정]]

2020년 11월 2일 (월) 02:59 기준 최신판

1 개요[ | ]

미디어위키 $wgMemCachedServers
  • memcached 서버들을 등록하는 미디어위키 환경변수
  • 기본값: [ '127.0.0.1:11000' ]
PHP
Copy
$wgMemCachedServers = [
  "127.0.0.1:11000", # one gig on this box
  [ "192.168.0.1:11000", 2 ] # two gigs on the other box
];

2 같이 보기[ | ]

3 참고[ | ]