Skip to content

Instantly share code, notes, and snippets.

@violetyk
Created October 3, 2013 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save violetyk/6805351 to your computer and use it in GitHub Desktop.
Save violetyk/6805351 to your computer and use it in GitHub Desktop.
cat /etc/redhat-release
CentOS release 5.7 (Final)

wget http://curl.haxx.se/download/curl-7.32.0.tar.bz2
tar xf curl-7.32.0.tar.bz2
cd curl-7.32.0/
./configure --prefix=/usr/local/curl --with-ssl --with-libssh2
make -j
paco -D make install
paco -au

/usr/local/curl/bin/curl --version
curl 7.32.0 (x86_64-unknown-linux-gnu) libcurl/7.32.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 libssh2/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IDN Largefile NTLM NTLM_WB SSL libz

--with-curl=/usr/local/curl を指定して、phpをビルド

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment