Re: script hangs on curl_exec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux