"우분투 PHP curl 모듈 설치"의 두 판 사이의 차이

잔글 (Jmnote님이 우분투 php5-curl 설치 문서를 우분투 PHP curl 모듈 설치 문서로 이동했습니다)
(차이 없음)

2017년 5월 14일 (일) 01:24 판

우분투 php5-curl 설치
우분투 PHP curl 모듈 설치

1 확인

root@zetawiki:~# php -m | grep curl
root@zetawiki:~# dpkg --get-selections | grep php5-curl
root@zetawiki:~#

2 설치

root@zetawiki:~# apt-get install php5-curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libapache2-mod-php5 php5-cli php5-common php5-readline
Suggested packages:
  php-pear php5-user-cache
The following NEW packages will be installed:
  php5-curl
The following packages will be upgraded:
  libapache2-mod-php5 php5-cli php5-common php5-readline
4 upgraded, 1 newly installed, 0 to remove and 67 not upgraded.
Need to get 4,858 kB of archives.
After this operation, 131 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubuntu4.17 [12.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.17 [2,162 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libapache2-mod-php5 amd64 5.5.9+dfsg-1ubuntu4.17 [2,212 kB]
... (생략)
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.17) ...
php5_invoke json: already enabled for apache2 SAPI
php5_invoke pdo: already enabled for apache2 SAPI
php5_invoke opcache: already enabled for apache2 SAPI
php5_invoke readline: already enabled for apache2 SAPI
apache2_invoke php5: already enabled
 * Restarting web server apache2                                                    [ OK ] 
Setting up php5-curl (5.5.9+dfsg-1ubuntu4.17) ...

Creating config file /etc/php5/mods-available/curl.ini with new version
php5_invoke: Enable module curl for apache2 SAPI
php5_invoke: Enable module curl for cli SAPI
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.17) ...

3 확인 2

root@zetawiki:~# php -m | grep curl
curl
root@zetawiki:~# dpkg --get-selections | grep php5-curl
php5-curl					install

4 참고 자료

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