I am using php curl (libcurl) to call REST APIs. But the issue is ,i need to give timeout for every REST api call.
can i set a global timeout for the curl calls generated from php client ? I researched a lot but all over the internet i can see that this is not possible with libcurl,so if that is the case then please suggest me some other library which can do this in php or any possibility on linux/apache level ?