Re: script hangs on curl_exec

From: Date: Wed, 01 Oct 2008 16:46:10 +0000
Subject: Re: script hangs on curl_exec
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-281290@lists.php.net to get a copy of this message
On Wed, 2008-10-01 at 17:31 +0200, Rene Veerman wrote: > I have a script that uses curl to call a worker function on another server. > For small workloads, it works just fine. > > But when my script processes a large zip-file and updates some status > files, curl_exec never returns the result data even though the called > script does send it. I would guess that the receiving script is having trouble. Perhaps it isn't configured to receive a large amount of data? Or not enough memory? Or exceeds runtime for script? Check of any of the following php.ini settings are causing you grief for the receiving script. max_execution_time = 30 memory_limit = 32M upload_max_filesize = 5000000 post_max_size = 5000000 Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#281290) next »