Questions tagged [curl]

cURL is an HTTP client library and command line tool.

646 questions
0
votes
3 answers

How to intentionally degrade an outbound connection in linux

I am testing the timeout handling for an outbound CURL in a PHP app I am developing after an outage at an affiliate brought down my site. I am looking for a way to intentionally slowdown or permanently stall outbound connections to a specific IP…
PFY
0
votes
1 answer

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
jaredsten
  • 203
  • 1
  • 7
0
votes
1 answer

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 server to them and they send me a java applet…
0
votes
4 answers

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 work. Is it possible to add curl if only by FTP?…
shaimagz
  • 153
  • 2
  • 7
0
votes
2 answers

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 following error (twice) from PHP on Apache…
0
votes
1 answer

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 apache) service lighttpd restart But still no luck,…
Juddling
  • 1,075
  • 1
  • 7
  • 11
0
votes
1 answer

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' '--with-zlib' '--enable-mbstring' '--with-pdo-mysql'…
taras
  • 269
  • 2
  • 9
  • 20
0
votes
2 answers

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). Now I moved to a dedicated server with a dual core…
pataroulis
  • 143
  • 1
  • 2
  • 11
0
votes
6 answers

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 recommendations regarding curl and wget?
Alaa Alomari
  • 638
  • 6
  • 19
  • 37
0
votes
3 answers

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 internet (using cURL via PHP) Apache was timing…
joshwbrick
  • 173
  • 1
  • 11
0
votes
2 answers

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 fully qualified domain name, using 192.168.1.8…
Jonas Byström
  • 194
  • 2
  • 12
0
votes
1 answer

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 ?
pax
  • 15
  • 4
0
votes
1 answer

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 error when I try to run ANY php script: CGI…
Jonah H.
  • 203
  • 3
  • 8
0
votes
1 answer

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 libraries enabled/compiled into the PHP module…
nicorellius
  • 585
  • 2
  • 5
  • 23
0
votes
1 answer

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 download the whole file... So if i could somehow tell…
PartySoft
  • 217
  • 1
  • 7
  • 12