cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

1
vote
1answer
289 views

FreeBSD Dump with cURL/rsync

I'm trying to create a backup script using FreeBSD's dump to take a snapshot of a filesystem, but instead of storing the snapshot on disk I want to pipe the output from dump into cURL or rsync so its ...
1
vote
1answer
631 views

How can I use curl to upload and post a file with the following form?

The form html from the page I'm trying to upload to is as follows: <form action="upload_handler" method="POST" enctype="multipart/form-data"> <input type="file" name="myfile"> ...
5
votes
1answer
3k views

Trying to install pecl Solr extension but it needs curl

When I try to install solr-beta: pecl install solr-beta I get this error: pecl/solr requires PHP extension "curl" No valid packages found install failed The thing is curl is already installed and ...
1
vote
0answers
86 views

What is PHP cURL and libcurl version relationship?

I'm running php with curl support on a mac. cURL in php works fine(ish) but I noticed an oddity reported by phpinfo(). It states that curl support is 7.19.7 But using the otool command, I get this: ...
0
votes
1answer
134 views

Services Similar to Cronless?

Are there any other well known cron alternative services to manage large amounts of automated tasks, such as curl'ng a url at a certain frequency? The only one I have found is cronless.com
1
vote
1answer
2k views

How do I enable ciphers for NSS?

I am trying to use curl built with NSS (not built with OpenSSL) on Fedora 14 to connect to a webpage over https. The server to which I am connecting (example.com) uses the RC4-SHA cipher for its SSL. ...
0
votes
1answer
287 views

Run crontab to click a website link every hour

I would like to click on a test like this (the "start testing" button) every hour so I can get a hourly result (results are saved on the server side). Basically what happens is that I connect with a ...
0
votes
1answer
2k views

How do I test HTTP Pipelinning?

I am trying to test if site/server/whatever has ability to pipeline HTTP request. So far, I think it is possible to send several request through one curl session, like: curl ...
1
vote
2answers
600 views

how to prvent specific pages from being cached in squid?

I have drupal based website and i am using squid as a caching level. now, the homepage keeps getting un-updated content (old contents) and by running curl -I on my website i got this: HTTP/1.0 200 ...
2
votes
5answers
2k views

Multithreaded downloading with shell script

Let's say I have a file with lots of URLs and I want to download them in parallel using arbitrary number of processes. How can I do it with bash?
0
votes
1answer
1k views

nginx loggin $request_body produces weird encoding

I have an nginx server that logs POST $request_body to a file. When I post json to the server, it replaces quotes (") with \x22. My config looks like this server { server_name myServer; ...
2
votes
2answers
6k views

Alternatives to CURL, WGET

Is anyone aware of any alternatives to curl and wget? The key functional requirement I'm looking for is to be able to execute an HTTPS GET request against a known URL. The reason I'm looking for an ...
2
votes
2answers
2k views

WGet or cURL: Mirror Site from http://site.com And No Internal Access

I have tried wget -m wget -r and a whole bunch of variations. I am getting some of the images on http://site.com, one of the scripts, and none of the CSS, even with the fscking -p parameter. The ...
0
votes
4answers
1k views

How to enable PHP Curl on linux machine using FTP only

I only have access only to php.ini file and I want to be able to add curl extenssion to my linux machine. I don't have access to terminal. I tried adding: extension=curl.so but it doesn't ...
2
votes
1answer
3k views

How to install PHP from source with latest cURL package on Linux?

I simply have to use the latest cURL version (7.21.3) with PHP on my webserver. (Has to do with specific bug fixes) It is not available by default on most current Linux variant repositories. (Natty ...
0
votes
2answers
345 views

Errors installing the Curl library with PHP/Apache/Windows

I'm having a hell of a time getting Curl to work with PHP/Apache on my Windows XP 64-bit development box. I have PHP and Apache successfully installed, but when I tried to enable Curl I get the ...
0
votes
1answer
184 views

Apache strange behaviour:“get” works, but “post” doesn't

Ok. I have a script that was supposed to post data to another web page. I use curl and I can request a page with "get" but not with "post". I wrote a python script that works from CLI. When I try to ...
0
votes
1answer
740 views

php curl extension problem, ubuntu

i've installed (as root) aptitude install curl php5-curl libcurl3 libcurl3-dev and added extension=curl.so to my php.ini (i assumed this wasn't done automatically because i'm using Lighty and not ...
0
votes
1answer
4k views

How do i enable curl support for php 5.3.3?

Hi I have installed curl and curl-devel, but i still can't get curl to work with php. My php config line: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd' '--with-mysql' ...
0
votes
2answers
1k views

Apache curl via HTTP proxy

I am trying to get PHP to execute a curl connection to another server. To connect to the server, we need to go via a proxy. Within bash, we have set the env-variable http_proxy and this works ...
0
votes
2answers
145 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
777 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 ...
9
votes
4answers
25k 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
1k 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
803 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 ...
1
vote
1answer
313 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
582 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
1k 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
99 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
856 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
234 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
598 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
10k 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
937 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
326 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
1k 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
122 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
797 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
9k 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
4k 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 ...
8
votes
3answers
20k 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
691 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
406 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 ...