tar zxvf php-5.2.17.tar.gz
cd php-5.2.17/ext/curl
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make
cd modules/
cp curl.so /usr/lib64/extensi...
wget http://curl.haxx.se/download/curl-7.17.1.tar.gz
tar -zxvf curl-7.17.1.tar.gz
cd curl-7.17.1
./configure --prefix=/usr/local/curl
make
make install
/usr/local/php-5.2.9/bin/php-config ...
Work with cURL easily from your CodeIgniter application. Contributor: philsturgeon Email: Log in to viewAuthor Website: http://philsturgeon.co.uk/ Repository Type: gitNumber of Ins...
进入安装原php的源码目录,
cd ext
cd curl/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=DIR
然后就是编译安装:
make
make install
到这里会提示...
源码目录: /php-src/ext/curl
直接phpize,再./configure编译会报一下错误:configure: error: Could not find cURL./configure: line 4179: curl-dir: No such file or directory./configure: line 4179: curl-dir: N...
Linux编译安装php扩展包curl
1.curl,主要用于发送http请求,是php的一个扩展包。
2.安装过程:
(1)curl下载:http://curl.haxx.se/download.html
(2)具体安装过程:
tar -zxvf curl-7.34.0.tar.gz
cd cur...