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

51번째 줄: 51번째 줄:


==같이 보기==
==같이 보기==
* [[우분투16 php-memcached 삭제]]
* [[우분투14 php5-memcached 설치]]
* [[우분투14 php5-memcached 설치]]
* [[우분투16 php-memcache 설치]]
* [[우분투16 php-memcache 설치]]

2017년 5월 21일 (일) 03:20 판

  다른 뜻에 대해서는 우분투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 }}