cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

2
votes
0answers
353 views

curl request results in heavy load on the server

We consume an XML Datafeed by sending cURL requests to the provider's server. They do not allow us to cache, so each pageview is a new cURL request. Twice this year, our server has crashed with the ...
13
votes
5answers
17k views

How to update cURL CA bundle on RedHat?

I am running into issues where the CA bundle that has been bundled with my version of cURL is outdated. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL ...
1
vote
1answer
502 views

getaddrinfo(3) failed

I'm trying to connect to a webservice using a PHP wrapper (which is using curl under the covers). On my local linux machine running PHP 5.3 it works perfectly. However, when I move to a remote server ...
0
votes
1answer
204 views

cURL newest version on Debia Squeeze

Why Debian Squeeze repositories points to cURL version 7.21.0 which is from June 2010 and not the version 7.26.0 which is from May of this year(cURL Changelog)?? I want to update to the version 7.26 ...
-1
votes
1answer
620 views

Error on installing Curl in Red Hat

Got this error when i installed curl in my Red Hat Enterprise Linux Server ../lib/.libs/libcurl.so: undefined reference to `ERR_remove_thread_state' collect2: ld returned 1 exit status make[2]: ...
0
votes
1answer
548 views

How to upgrade php curl on Ubuntu 10.04

I have a web service on 64bit AWS/ubuntu 10.04 machine. Current php ver PHP Version 5.3.2-1ubuntu4.15. Current curl ver: 7.19.7 This Curl version has a memory leak and I need to upgrade to V 7.25.0 ...
2
votes
1answer
795 views

file_get_contents url wrappers work on cli but not cgi

I have a big problem. I have just upgraded to a new dedicated server running Plesk 10, and Ubuntu 11.04 and my scripts can't run file_get_contents or curl to external urls in cgi mode. ...
0
votes
1answer
2k views

Dependency issues while installing curl-devel

I'm trying to run the passenger-install-apache2-module so I can install Redmine on CentOS 5.8, but passenger-install-apache2-module tells me I need Curl development headers with SSL support, which it ...
1
vote
1answer
104 views

cpanel cronjob curl increase file size

I created a bash script to run as a cronjob with Cpanel: --------------content of cron.sh--------------------- #!/bin/bash curl http://website.com/1.gif >> ...
1
vote
0answers
3k views

CURL ERROR: Recv failure: Connection reset by peer - PHP Curl

I've posted a question yesterday on stackoverflow here but think this might be server related. I'm connecting using the PHP curl functionality to a server that then generates a PDF file and sends it ...
0
votes
3answers
5k views

I would like to know the equivalent command to curl in Solaris

I would like to know equivalent command to curl in Solaris. As in Linux, the curl command is used to find the website activity. Kindly let me know command to check website in Solaris.
2
votes
3answers
7k views

Curl request wont resolve to localhost

I have an ubuntu server running apache on localhost / port 80. It's domain is sub.domain.com If I make a curl request to http://localhost on that machine it will error with 'couldnt connect to host' ...
1
vote
1answer
782 views

Allow outgoing connections for cURL on LAMP stack

I've been trying to setup a LAMP stack to use as a web development server and it's proving to be very frustrating for a novice like myself. On a Fedora 16 machine, I've got Apache, MySQL, PHP, cURL, ...
0
votes
2answers
625 views

Curl and Wget returns different response code

I am trying to wget a link, this wget works fine on my local machine but it doesn't do so on the server. i tried to check the response header and i got the following on my local laptop curl -I ...
3
votes
2answers
8k views

Ubuntu 11.10, using wget/curl fails with ssl

On a completely new install of Ubuntu I'm getting the following errors when using wget: wget https://test.sagepay.com --2012-03-27 12:55:12-- https://test.sagepay.com/ Resolving test.sagepay.com... ...
0
votes
1answer
782 views

PHP, Apache and curl: Differences between Windows and Linux?

I'm trying to run my php App on Ubuntu Server 11.10. This App works fine under Apache + PHP in windows. I have other applications that I can simply copy&paste between the 2 OS and they work on ...
1
vote
2answers
805 views

SSL on Apache seems to significantly affect WebDAV performace

I'm using Apache 2.2 running on Windows Server 2008 R2 as a WebDAV server for clients to upload large media files (roughly 100-2000MB). I am finding that when I have SSL enabled (openSSL 0.9.8o) and ...
0
votes
2answers
512 views

Does PHP script itself count as a process?

My server has a limited number of concurrent processes (20) it can handle. To make sure I don't exceed I need to understand: When a user is waiting for a PHP script to finish loading, does the ...
0
votes
1answer
1k views

curl installation and upgrade

On a centos 5.7 machine we had curl 7.15 installed . We also have PHP installed in it as some of the PHP libraries are linked to curl. We wanted to upgrade curl to 7.19 but yum update was failing . ...
0
votes
1answer
1k views

Error when installing curl debian squeeze

I have set up an [ISPconfig][1] server and am now trying to install curl. I'm using apt-get to install php5-curl and it seems to be throwing up an error. After I press "y" to accept the install it ...
0
votes
1answer
378 views

curl cookie and cookiejar trouble

I've got a script that curls a site using a specific cookie value in a cookie file. When I run this on my local system, the server returns the same value to my cookie jar, as per my expectations. When ...
0
votes
1answer
245 views

CURL not working in node.js in CentOS 5.7, but works fine in debian 2.6.32-5

working on an app in node.js, On the test server (debian 2.6.32-5) it works flawlessly, on CentOS 5.7 I get an error. using the curlrequest node.js library, and the error that comes up is "failed to ...
3
votes
1answer
200 views

Problems restarting Apache - Curl related

I'm having a problem compiling LAMP, I have everything compiled and working, but when I try to restart apache I get the following error: seg fault or similar nasty error detected in the parent ...
1
vote
2answers
6k views

Using curl to request URL that redirects to relative URL with anchor tag

I'm using curl to request a URL that redirects to a different URL using a Location: line like: Location:/path/to/resource#name As I understand it, that line in the redirect response is invalid per ...
0
votes
1answer
422 views

how to make curl uploads faster with firewall

We recently moved a new server and are facing the slow upload issues . We suspect this because of firewall . how do I make sure applications like ftp,curl become faster with firewall. Any inputs ...
0
votes
1answer
85 views

File uploads taking more time

We recently moved to a new server. We have observed that the file upload done from the ftp command is taking around 5sec for 5MB file. But same file uploaded through CURL command is taking about 140 ...
3
votes
3answers
5k views

How to change libcurl SSL backend from gnutls to openssl on Ubuntu server

I am getting gnutls specific errors in my Tornado webserver while processing Google OpenID SSL responses. One of the suggestions I got from Tornado mailing list is to try OpenSSL backend instead of ...
0
votes
2answers
179 views

my share hosting has disabled all socket functions

I have hosted my website with squarebrothers.com They have disabled curl_exec, fsockopen, socket_create functions. They say that these are security vulnerabilities and they have blocked. And they ...
0
votes
2answers
3k views

Enabling CURL on Ubuntu 11.10

I have installed curl: sudo apt-get install curl libcurl3 libcurl3-dev php5-curl and I have updated my php.ini file to include(I also tried .so): extension=php_curl.dll To test if curl is ...
3
votes
1answer
794 views

Using curl to make a HEAD request with a hard timeout

I'd like to use curl to send a HTTP HEAD request to a URL to verify that it is working correctly (server is up and sends a successful response). At the end, I need the final HTTP response code ...
8
votes
5answers
8k views

How is it possible that I can do a host lookup but not a curl?

Has anyone ever seen this before? Note that this happens not only with google.com, but with every domain I try. It's a wireless connection (WEP), but I'm not sure how that would be relevant: $ curl ...
1
vote
2answers
667 views

CURL - saving multiple HTTP responses

I've learned that we can send multiple HTTP requests with CURL by doing this: curl -I http://linuxbyexample.co.nr http://lne.blogdns.com/lbe or this: xargs curl -I < url-list.txt How can we ...
2
votes
0answers
1k views

What is the difference between installing libcurl4-gnutls-dev or libcurl4-nss-dev in ubuntu 11.10?

For a software that I am installing in an ubuntu server, it needs the curl deb packages. When I try to install libcurl4-dev it says that this is a virtual package and I need to install ...
0
votes
1answer
206 views

PHP CURL Enable Linux

I have some php scripts that I've been running on an Apache server on a windows machine. These scripts use curl which isn't enabled by default in php. For windows enabling it was as easy and ...
0
votes
1answer
3k views

How to use cURL to FTPS upload to SecureTransport (hint: SITE AUTH and client certificates)

I'm trying to connect to SecureTransport 4.5.1 via FTPS using curl compiled with gnutls. You need to use --ftp-alternative-to-user "SITE AUTH" per http://curl.haxx.se/mail/lib-2006-07/0068.html Do ...
0
votes
1answer
2k views

curl --ftp-ssl to grab all files in remote directory

Is it possible to get all files in a directory using curl? Here's my string so far: curl --ftp-ssl -k ftp://user:pass@IP This will LIST the files in the user FTP directory, how do I adjust this ...
1
vote
2answers
2k views

curl SSL issue with RapidSSL certificates

I'm getting the famous "SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" problem when attempting to curl a domain that has a rapidssl certificate installed. I'm running Ubuntu ...
0
votes
3answers
370 views

using curl to trigger a notification over http e.g. when a long running task has completed?

Today I left work with a long running task running in the shell. For the sake of argument let's say I'm using 'wc -l' to count lines in a huge file. I'd like to get a notification when it is done, but ...
2
votes
4answers
1k views

Install Fedora Source package on RHEL / CentOS

I'm attempting to upgrade curl on RHEL / CentOS machines. I've found what seems to be the appropriate source packages in a number of repos. (ie, ...
0
votes
1answer
174 views

cURL on Linux not compiled, although installed,why?

the phpinfo() shows but when i install zencart on my vps hosting. it shows why? how to correct it?
0
votes
1answer
1k views

how to install npm if couldn't resolve npmjs.org

when m doing curl it says could not resolve host what can i do ? curl http://npmjs.org/install.sh | sudo sh curl: (6) Couldn't resolve host 'npmjs.org' http://npmjs.org/ /etc/resolv.conf search ...
1
vote
1answer
1k views

How do you enable SSL for PHP cURL on Linux?

That's all there is to my question: how do you enable SSL for PHP cURL on Linux (specifically Ubuntu)? I'm not finding the answer by Googling it.
0
votes
1answer
235 views

curl scrables accented characters

I'd like to transfered a url with curl, but the accented characters are scrambled. This is what I get: Bulletin cÙtier pour la bande des 20 milles de Port Camargue ‡ Saint<br> Raphael le mardi ...
2
votes
1answer
5k views

Curl POST - 411 Length Required

We have a RestFUL API we build in PHP. If we make the request: curl -u api-key:api-passphrase https://api.domain.com/v1/product -X POST We get back: 411 - Length Required Though if we simply add ...
0
votes
4answers
3k views

Install PHP 5.1.2, Requires: libcurl.so.3()(64bit) error

I'm trying to install php 5.1.2 on a CentOS 6 server (for grandfathering in old websites). I downloaded an RPM file ( php-5.1.2-5.x86_64.rpm ), but when I use: yum install php-5.1.2-5.x86_64.rpm I ...
5
votes
2answers
5k views

How do I pipe the output of uptime/df to curl?

I want to send the output of uptime and df commands to a web app using cURL. I tried: uptime | curl http://someurl.com -T - But that didn't seem to send the data. What is the proper way to send ...
3
votes
2answers
803 views

Curl always returns same 404 page

No matter what URL I specify for curl I always get the same HTML 404 Error page back. If I use the --verbose option, it looks like curl always connects to the same IP address. $ curl --verbose ...
4
votes
1answer
5k views

How to log outgoing http requests from PHP + cURL?

I have a PHP script set up that makes cURL requests whenever an action is performed on a site. The problem is that the information is being POSTed twice whenever the action is run. I need to work ...
1
vote
1answer
216 views

How to send a local file and expect other file?

I'm trying to make a simple web call work in command line mode and what I would like to do is: send a document file to http://domain.com/convert/ receive as the response a PDF file I can see that ...
1
vote
2answers
556 views

Curl - download file range

I'm trying to download a range of files using curl. curl -R -O -z /dir/file1.png http://somesite.com/file[1-100].png The problem I'm having is how to make the "file1.png" change to the approperate ...