I'm trying to use Iron MQ with my Laravel application which is deployed to Google App Engine. However it seems that Google App Engine does not support curl. I've added my star to their issue (https://code.google.com/p/googleappengine/issues/detail?id=9343).
I was wondering if you could detect if Curl is available in your library, and if it isn't you could use file_get_contents. Just like the guys at Pusher did: https://github.com/pusher/pusher-php-server/pull/14.
My log:
PHP Fatal error: Call to undefined function curl_init() in /base/data/home/apps/s~clickin-c1/one.377575534782007565/vendor/iron-io/iron_core/IronCore.class.php on line 191
production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined function curl_init()' in /base/data/home/apps/s~clickin-c1/one.377575534782007565/vendor/iron-io/iron_core/IronCore.class.php:191 Stack trace: #0 [internal function]: Illuminate\Exception\Handler->handleShutdown() #1 {main} [] []
I'm trying to use Iron MQ with my Laravel application which is deployed to Google App Engine. However it seems that Google App Engine does not support curl. I've added my star to their issue (https://code.google.com/p/googleappengine/issues/detail?id=9343).
I was wondering if you could detect if Curl is available in your library, and if it isn't you could use
file_get_contents
. Just like the guys at Pusher did: https://github.com/pusher/pusher-php-server/pull/14.My log: