"우분투16 php-memcached 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 3개는 보이지 않습니다)
4번째 줄: 4번째 줄:


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zeta:~# php -m | grep memcached
root@zeta:~# php -m | grep memcached
root@zeta:~# php -r "new Memcached;"
root@zeta:~# php -r "new Memcached;"
11번째 줄: 11번째 줄:
#0 {main}
#0 {main}
   thrown in Command line code on line 1
   thrown in Command line code on line 1
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zeta:~# apt list php-memcached
root@zeta:~# apt list php-memcached
Listing... Done
Listing... Done
php-memcached/xenial 2.2.0-51-ge573a6e+2.2.0-2build2 amd64
php-memcached/xenial 2.2.0-51-ge573a6e+2.2.0-2build2 amd64
</source>
</syntaxhighlight>


==설치==
==설치==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zeta:~# apt install php-memcached
root@zeta:~# apt install php-memcached
Reading package lists... Done
Reading package lists... Done
36번째 줄: 36번째 줄:
Unpacking php-memcached (2.2.0-51-ge573a6e+2.2.0-2build2) ...............................]  
Unpacking php-memcached (2.2.0-51-ge573a6e+2.2.0-2build2) ...............................]  
Setting up php-memcached (2.2.0-51-ge573a6e+2.2.0-2build2) ..............................]  
Setting up php-memcached (2.2.0-51-ge573a6e+2.2.0-2build2) ..............................]  
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zeta:~# apt list php-memcached
root@zeta:~# apt list php-memcached
Listing... Done
Listing... Done
php-memcached/xenial,now 2.2.0-51-ge573a6e+2.2.0-2build2 amd64 [installed]
php-memcached/xenial,now 2.2.0-51-ge573a6e+2.2.0-2build2 amd64 [installed]
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zeta:~# php -r "new Memcached;"
root@zeta:~# php -r "new Memcached;"
root@zeta:~# php -m | grep memcached
root@zeta:~# php -m | grep memcached
memcached
memcached
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[우분투 php-memcached 삭제]]
* [[우분투14 php5-memcached 설치]]
* [[우분투14 php5-memcached 설치]]
* [[우분투16 php-memcache 설치]]
* [[우분투16 php-memcache 설치]]
* [[PHP Memcache vs Memcached]]
* [[PHP Memcached 사용하기]]
* [[PHP Memcached 사용하기]]



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

  다른 뜻에 대해서는 우분투14 php5-memcached 설치 문서를 참조하십시오.
PHP Fatal error: Uncaught Error: Class 'Memcached' not found
우분투16 php-memcached 설치

1 확인[ | ]

root@zeta:~# php -m | grep memcached
root@zeta:~# php -r "new Memcached;"
PHP Fatal error:  Uncaught Error: Class 'Memcached' not found in Command line code:1
Stack trace:
#0 {main}
  thrown in Command line code on line 1
root@zeta:~# apt list php-memcached
Listing... Done
php-memcached/xenial 2.2.0-51-ge573a6e+2.2.0-2build2 amd64

2 설치[ | ]

root@zeta:~# apt install php-memcached
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  php-memcached
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 35.6 kB of archives.
After this operation, 127 kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 php-memcached amd64 2.2.0-51-ge573a6e+2.2.0-2build2 [35.6 kB]
Fetched 35.6 kB in 0s (155 kB/s)        
Selecting previously unselected package php-memcached.
(Reading database ... 141083 files and directories currently installed.)
Preparing to unpack .../php-memcached_2.2.0-51-ge573a6e+2.2.0-2build2_amd64.deb ...
Unpacking php-memcached (2.2.0-51-ge573a6e+2.2.0-2build2) ...............................] 
Setting up php-memcached (2.2.0-51-ge573a6e+2.2.0-2build2) ..............................]

3 확인 2[ | ]

root@zeta:~# apt list php-memcached
Listing... Done
php-memcached/xenial,now 2.2.0-51-ge573a6e+2.2.0-2build2 amd64 [installed]
root@zeta:~# php -r "new Memcached;"
root@zeta:~# php -m | grep memcached
memcached

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}