Skip to content

Instantly share code, notes, and snippets.

View prabalsslw's full-sized avatar
🎯
Focusing

Prabal Mallick prabalsslw

🎯
Focusing
View GitHub Profile
@prabalsslw
prabalsslw / curl-verbose.php
Created September 2, 2021 11:33 — forked from hubgit/curl-verbose.php
Verbose cURL in PHP
<?php
// Request URL
$url = 'http://www.google.com/';
// HTTP headers
$headers = array(
//'Content-Type: application/json',
//'Accept: application/json',
);
@prabalsslw
prabalsslw / curl.ini
Created December 31, 2020 10:48 — forked from reinaldomendes/curl.ini
PHP Curl error 77 on ssl conections
;###################################################
; 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