richsage / RMSPushNotificationsBundle

NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
MIT License
321 stars 152 forks source link

How to me to add parameter to cURL? #132

Open nkl90 opened 8 years ago

nkl90 commented 8 years ago

The command curl ifconfig.co print this: 2a01:7e00::f03c:91ff:fe18:68ff That is, the system works through ipv6. And it is necessary for me that worked through ipv4. I need to execute: curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); How can i do this? Perhaps do this config in global php.ini?

nkl90 commented 8 years ago

I solv this problem just disable ipv6 for all system