This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Request URL | |
| $url = 'http://www.google.com/'; | |
| // HTTP headers | |
| $headers = array( | |
| //'Content-Type: application/json', | |
| //'Accept: application/json', | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;################################################### | |
| ; NOTE | |
| ;#################################################### | |
| ; change your curl.ini on /etc/php.d/curl.ini | |
| ; | |
| ;This config was only tested on amazon AMI | |
| ;Please check if /etc/ssl/certs/ca-bundle.crt exists | |
| ; | |
| ;If you don't have the ca-bundle root certificate you | |
| ; can get this in |