Curl Extension - curl_multi_init
3 posts
• Page 1 of 1
Curl Extension - curl_multi_init
Hi guys, Im trying to use curl_multi_getcontent and curl_multi_init.
I am getting the following error:
I have ensured php_curl is enabled by copying the managed extension to web app's bin folder (php_curl.mng.dll)
and I have added following in web.config:
Is there anything else I need to do or is this function just not available in managed curl extension?
I am getting the following error:
- Code: Select all
Error: curl_multi_init(): Call to undefined external function 'curl_multi_init', extension 'php_curl' (function not found).
I have ensured php_curl is enabled by copying the managed extension to web app's bin folder (php_curl.mng.dll)
and I have added following in web.config:
- Code: Select all
<add assembly="php_curl.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="curl" />
Is there anything else I need to do or is this function just not available in managed curl extension?
- papachumba
- Posts: 7
- Joined: December 18th, 2012, 12:49 pm
Re: Curl Extension - curl_multi_init
Hi,
you are doing it right. However bundled cURL extension is from PHP4, which does not contain these functions yet.
I would suggest to replace them with C#/.NET alternative code, or I can provide you with managed reimplementation of cURL, and sb. can finish implementation of these functions?
Thanks,
you are doing it right. However bundled cURL extension is from PHP4, which does not contain these functions yet.
I would suggest to replace them with C#/.NET alternative code, or I can provide you with managed reimplementation of cURL, and sb. can finish implementation of these functions?
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Curl Extension - curl_multi_init
Argh, bummer! thought it might have been due to v4.0 of extensions...
Basically I wanted to test out an implementation of multi_curl to see if it runs any faster when I hammer my server with concurrent requests
If you have any managed ext code I'd be more than happy to give that a whack...
Basically I wanted to test out an implementation of multi_curl to see if it runs any faster when I hammer my server with concurrent requests
If you have any managed ext code I'd be more than happy to give that a whack...
- papachumba
- Posts: 7
- Joined: December 18th, 2012, 12:49 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests