cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

0
votes
2answers
140 views

One long php process hogging the system, producing average spikes > 8

I recently moved my site from a VPS to a dedicated server. The VPS was around the same speed/spec with the dedicated one. It's usual load average was around .7-.9 (it was a supposed 3 core system). ...
1
vote
4answers
683 views

Bootable tool to image hard disk over network

I'm looking for a tool, preferably a minimal Linux build, which can, or fairly simply be modified to, boot as an ISO image and automatically download a disk image over a network and apply it to a ...
8
votes
4answers
20k views

How do I make cURL use keepalive from the command line?

I'm trying to verify that HTTP persistent connections are being used during communication with a Tomcat webserver I've got running. Currently, I can retrieve a resource on my server from a browser ...
2
votes
2answers
958 views

Retrieve FTP directory tree from the command line

What would be the fastest way to recursively retrieve entire directory listing from an ftp server using wget/curl/whatever? I don't need to download any files, just directory and file names. Basically ...
2
votes
5answers
5k views

Curl development headers with SSL support for Phusion Passenger 3

I'm trying to install phusion passenger nginx module, but it fails # passenger-install-nginx-module * Curl development headers with SSL support... not found ... yum install curl-devel Setting up ...
0
votes
6answers
684 views

is there a problem in disabling curl and wget?

Is it recommended to disable curl and wget to disallow anyone from accessing my websites using those commands? Or is it needed for some search engines to access my websites? What are your ...
0
votes
1answer
276 views

www-data user doesn't seem to have the access to use php-curl

I'm trying to get the simpletest module for drupal to work, which relies on php-curl to fetch its requests. When I as the user root do the following it works fine: root@server:~# php -a Interactive ...
0
votes
3answers
552 views

What Happens When Apache Times Out?

I am a PHP developer and I just spent a good amount of time trying to track down a very strange problem the users of our web application were reporting. It turns out due to a slow API call over the ...
0
votes
2answers
2k views

Apache 2.2 + PHP 5.3.2 + cURL not working

When I try to start the Apache server (with PHP and cURL extension), it says: The Apache2.2 service is restarting. Starting the Apache2.2 service The Apache2.2 service is running. rmine the server's ...
2
votes
2answers
946 views

WHM: how to add curl extension to PHP?

i need curl installed on php. how can i add it using WHM? and does it have any security issue or may couse problem for accounts on the shared host?
0
votes
1answer
96 views

Use all 255 server IP Addresses

I am running an Ubuntu server having 255 IP addresses. I want to write down a PHP script that uses each IP to do a curl request. Is this possible ?
0
votes
1answer
713 views

How to fix Apache from crashing with PHP+Curl on an SSH request?

My Apache process segfaults whenever I call curl_exec() from PHP with an "https://" URL. If I use http instead of https as the URL transport, it works perfectly, so I know curl and the other curl ...
1
vote
0answers
214 views

How to use sitemap.xml to create a static mirror of a CMS

Is there a tool to create a static mirror of a content management system (CMS) that provides a sitemap.xml file? Ideally, I would point a tool like wget or curl to a sitemap.xml file and have it ...
0
votes
1answer
453 views

PHP on IIS6, Windows Server 2003. Enabling cURL causes CGI Error

I'm running an IIS6 server on Windows Server 2003 R2 SP2. I've installed PHP on the server, and MOST of it is working fine. However, if I try to enable the cURL extension for PHP, I get the following ...
4
votes
3answers
8k views

how do I get curl to save a file to a specified directory? [closed]

I'm trying to get curl, using a script, to download a file and save it to a certain directory. I got it to download but I dont know how to get it to a certain directory from a script. It usually just ...
0
votes
1answer
1k views

cURL Libraries on Ubuntu 9.10 Server Running SugarCRM Causing Problems with Scheduler

Running Ubuntu 9.10, Apache 2.2, MySQL 5.1.37, PHP 5.2.10, SugarCRM Pro 5.5.4 I started out by trying to use a Sugar function call Scheduler and Sugar complained: This system does not have the cURL ...
1
vote
1answer
856 views

FastCGI Process error when enable cURL

I have: windows Server 2003 - IIS 7.0 - PHP 5.2 Now I tried to install cURL. I get the php_curl.dll in the php.ini and have the right extension path. I also added the both needed dll-files to the ...
0
votes
1answer
1k views

retrieve file size from HTTP headers without downloading the file with CURL (no HEAD)

What i want to do is knowa file size and not download it. I've tried it with HEAD but the server doesn't respond curl_setopt($curl, CURLOPT_NOBODY, true); if i quit this , it will , but it will ...
0
votes
1answer
317 views

HowTo install cURL on ISS 7, PHP5 and Win Server 03

my question is in the title allready "How to install cURL on a windows server 2003 machine with ISS 7.0 and PHP 5?". I try to read HowTos in the internet but don't get any word what todo, I have too ...
0
votes
2answers
989 views

Install cURL in CentOS

Can someone direct me on how to install cURL on a CentOS server. Preferably through WHM if it's possible to recompile PHP that way.. I am a noob in SSH and this is a production server.
0
votes
2answers
120 views

File downloads stall from a third-party server (.net I think) - how can I prove the problem to the provider?

I'm writing a script to consume an XML feed provided by a third party. I'm having problems downloading the files listed inside it but the provider swears there's no problem. The files are usually ...
0
votes
2answers
744 views

PHP/cURL/Fedora issues resolving hostname possibly a DNS problem?

I have the following simple test script for cURL/php on a FC12/apache server that has PHP 5.3.2, cURL v7.19.7 (according to phpinfo()): $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, ...
1
vote
1answer
8k views

How to enable cURL in CentOS 5?

i already installed cURL with: yum install curl I restarted the httpd service but cURL is still not loaded. What else needs to be done? Thanks!
3
votes
3answers
3k views

How can I download multiple files stored in a text file with curl and xargs?

How can I download multiple files stored in a text file with curl and xargs? This is my last trial: cat listfile.txt | xargs curl -O first file works well, but other files are just output to ...
7
votes
3answers
17k views

Ubuntu 10.04/CURL: How do I fix/update the CA Bundle?

I recently upgraded our server from 8.04 to 10.04, and all the software along with it. From what I've found online, it seems that the new version of CURL doesn't include a CA bundle, and, as a ...
1
vote
1answer
667 views

Compiling PHP with cURL and SSL support on Redhat EC5

I don't even know where to begin to be honest. Trying to use an external API that requires SSL connections, I discover that SSL in needed on cURL, but this (apparently) requires PHP to be reinstalled ...
0
votes
1answer
4k views

How to install cURL with openssl on ubuntu server?

I am having a problem with cURL here. My localhost has curl with openssl enabled, and thus my php code works fine. On running phpinfo() I get the following -- curl cURL support enabled ...
2
votes
1answer
3k views

How to enable curl, installed Ubuntu LAMP stack?

I have installed ubuntu Lamp stack.But the curl is not enabled neither i can find extension listed in the INI file, i added manually but it didn't worked too. How should enable Curl then ?
2
votes
1answer
1k views

Do I need to recompile PHP to make use of CURL API?

I have both Apache and PHP set up manually, albeit the latter without CURL. There is this jungle of instructions and explanations on extensions for PHP. I have a very straightforward question - what ...
0
votes
1answer
382 views

CURL on PHP 5.2 works in CLI but not in IIS

I have a Windows 2003 Server running IIS with php 5.2.8, I'm trying to use CURL, and it works in CLI mode (if i execute php.exe) but it does not seem to be registered when running under IIS. The ...
1
vote
1answer
3k views

curl FTPS with client certificate to a vsftpd

I'd like to authenticate FTP clients either via username+password or a client certificate. Only FTPS is allowed. User/password works, but while testing with curl (I don't have another option) and a ...
2
votes
1answer
244 views

How to make a POST request using the Collectd curl plugin?

How do I make a post request using the curl plugin? I see no option where I can specify the post data, or the type of request. Is it even possible with the plugin, or is there an alternative plugin I ...
2
votes
1answer
1k views

How to install PHP cURL on IIS?

How do I go about installing PHP cURL on IIS? I have copied the php_curl.dll file into the PHP extensions folder, what else do I need to do? Thanks
12
votes
2answers
7k views

Difference between `curl -I` and `curl -X HEAD`

I was watching the funny server type from http://www.reddit.com with curl -I http://www.reddit.com when I guessed that curl -X HEAD http://www.reddit.com would do the same. But, in fact, it doesn't. ...
3
votes
2answers
7k views

How can I capture output from LFTP? (Output not written to STDOUT or STDERR?)

I would like get access to progress information from lftp. Currently, I'm using curl like so: curl http://example.com/file -o file -L 2> download.log This writes curl's progress information to ...
7
votes
5answers
28k views

cURL or SSL problems, how to solve?

I keep getting this error: No cURL data returned for https://XXX.XXXX.XXX:XXXX [0] SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL ...
1
vote
1answer
496 views

Unable to update to latest version or curl

I need to install curl version 7.18.0 or later but when I run yum install curl-devel I get Package curl-devel-7.15.5-2.1.el5_3.5.i386 already installed and latest version How can I get it to ...
0
votes
1answer
509 views

Slow curl from php, other

Recently switched to a different server, some php files use curl and seemed to be running fine originally but not so much anymore. Here is curl_getinfo for google.com array(20) { ["url"]=> ...
1
vote
2answers
459 views

repeated curl + grep on macosx occasionally giving bad results?

Running macosx 10.6.2, I am seeing some extremely weird behavior with a script which repeatedly calls curl -o (file) and then greps for a certain string within it. Occasionally grep returns 1 (not ...
3
votes
4answers
2k views

Why does squid reject this multipart-form-data POST from curl?

This fails: $ curl --trace multipart-fail.log -F "source={}" http://127.0.0.1:3003/jslint With a squid status 417 error, ERR_INVALID_REQ. trace of failing curl request trace of successful curl ...
0
votes
2answers
1k views

curl taking long time when not specifing i.p. address

I am using cURL to catch a remote server response. I've noticed that this method takes me 20 seconds eveytime. I've googled and found that something with the DNS lookup is misconfigured on my server ...
0
votes
1answer
1k views

Call to undefined function curl_init()

I've enabled curl in PHP.INI en restarted my machine and Apache. extension=php_curl.dll Still I get the following error in my php script: Call to undefined function curl_init() I'm running XAMP on ...
1
vote
1answer
674 views

cUrl error - dns issues?

I think I messed something up with my DNS and now curl returns this WP HTTP Error: name lookup timed out When I try to make any ajax request or get rss news. Any idea how to fix it ?
2
votes
2answers
1k views

SSL / HTTP / No Response to Curl

I am trying to send commands to a SOAP service, and getting nothing in reply. The SOAP service is at a completely separate site from either server I am testing with. I have written a dummy script ...
1
vote
2answers
554 views

Curl receives expired cookies

Why does curl receive an expired cookie? In a response to some url the server is sending a 302 Found response and a cookie. In Firefox this cookie gets set seamlessly. Firebug says: Set-Cookie ...
0
votes
3answers
190 views

Cannot download some files from a given server

I'm working on a Fedora Core release 6, and whenever I want to download a given file from a FTP site, the connection is refused: $ curl --ftp-pasv ...
2
votes
1answer
476 views

using curl against my IDN doesn't work right; browsers are OK

I've registered www.❺➠.ws, which goes to the same IP as www.naildrivin5.com. curl www.❺➠.ws returns the homepage of www.naildrivin5.com. No problem. I modify apache to use name-based virtual ...
1
vote
2answers
392 views

On Debian server, downloads stall out after one or two seconds using apt-get

I have a Debian server that is used primarily as a very low-traffic web server. Recently it began having some trouble regarding its network connection. I am able to use SFTP to upload a file to this ...
1
vote
2answers
2k views

windows php curl install : recommend a good site?

So I'm struggling to get php curl installed on my windows xp professional machine and I've probably tried 5 different sites which either dont' work or refers to missing file references like the ca ...