- 우분투 php5-curl 설치
- 우분투 PHP curl 모듈 설치
- PHP Fatal error: Uncaught Exception: You need to install cURL, see: http://curl.haxx.se/docs/install.html
1 확인[ | ]
Bash
Copy
php -m | grep curl
dpkg --get-selections | grep php | grep curl
Console
Copy
root@zetawiki:~# php -m | grep curl
root@zetawiki:~# dpkg --get-selections | grep php | grep curl
root@zetawiki:~#
2 설치[ | ]
Bash
Copy
# ubuntu14, php5
apt-get install php5-curl
Bash
Copy
# ubuntu16, php7
apt-get install php-curl
Console
Copy
root@zetawiki:~# apt-get install php-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcurl3 php7.0-curl
The following NEW packages will be installed:
libcurl3 php-curl php7.0-curl
0 upgraded, 3 newly installed, 0 to remove and 37 not upgraded.
Need to get 215 kB of archives.
After this operation, 692 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Console
Copy
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.2 [186 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 php7.0-curl amd64 7.0.15-0ubuntu0.16.04.4 [27.4 kB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 php-curl all 1:7.0+35ubuntu6 [1,930 B]
... (생략)
Setting up php-curl (1:7.0+35ubuntu6) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for php7.0-fpm (7.0.15-0ubuntu0.16.04.4) ...
3 확인 2[ | ]
Bash
Copy
php -m | grep curl
dpkg --get-selections | grep php | grep curl
Console
Copy
root@zetawiki:~# php -m | grep curl
curl
root@zetawiki:~# dpkg --get-selections | grep php | grep curl
php-curl install
php7.0-curl install
4 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- Apt-get (2)
우분투 MySQL 설치 ― Qweqwe750우분투 MySQL 설치 ― Jmnote