Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: weblance on September 27, 2011, 07:28:29 PM

Title: Can't get multi_curl to work properly.
Post by: weblance on September 27, 2011, 07:28:29 PM
Hi,

I have a script with multi_curl, that runs other curl subscripts in parallel. I have had the scripts hosted on a webhotel and it works perfectly there. But I wanted to try it on a SME 8, to see if I could host it myself. The problem is that it doesn't.

The whole systems gets a timeout if just one of the subscripts has a timeout. On my webhotel this is no problem - if one subscript has a timeout all the others are executed normally.

Does anyone have an idea how to fix this? Can the curl library be configured somehow?

/Carl
Title: Re: Can't get multi_curl to work properly.
Post by: cactus on September 27, 2011, 08:37:22 PM
I am guessing this is a PHP script, from your rather short description, where did you get the source from?

If it is a php script I suggest enabling display_errormessages as described at http://wiki.contribs.org/PHP#Display_Error_Messages
Title: Re: Can't get multi_curl to work properly.
Post by: Stefano on September 27, 2011, 08:40:40 PM
I would add that IMHO this is OT here
Title: Re: Can't get multi_curl to work properly.
Post by: weblance on September 27, 2011, 10:02:58 PM
What does the OT acronym stand for?

Yes it is a PHP script. The script works, I've had it running for months on a different server (webhotel) but it doesn't work on SME :(
I'll try enabling PHP error messages.
Title: Re: Can't get multi_curl to work properly.
Post by: Stefano on September 27, 2011, 10:12:14 PM
OT=Off Topic

this forum topic is
Quote
Discussion of the use of *ONLY* the components and features included on the SME Server 8.x CD. Please help the developers by reporting any problems to the Bug Tracker first, not here.

you should post this kind of question in "general discussions" forum

anyway, as cactus said you should enable php error display..

and, of course, you should tell us if there is any difference between your php/apache version between the working and the not working environment.. we have no crystal ball nor x-ray glasses ;-)