• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

PHP cURL (SSL certificate problem: self signed certificate in certificate chain)

phpwordpresscurlphp-curl


PHP Snippet 1:

curl.cainfo = <absolute_path_to> cacert.pem

PHP Snippet 2:

curl_setopt ($ch, CURLOPT_CAINFO, dirname(__FILE__)."/cacert.pem");

Related Snippets

LARAVEL: How to fetch id dynamically in a query builder?

Assign output of PHP function to a variable

Laravel lang slug in url

With doctrine ODM, can I embed many subdocuments in a main document?

(Cache::lock()) -> get() -- Under what conditions does it return false?

How do I remove this delivery notification from here?

Check if user online laravel

Adding custom body class to the custom archive pages

How to get an Array value inside an object in an array Php [duplicate]

How to insert data from multiple select dropdown values into database?

Symfony Mercure "Failed to send an update"

Change user role if checkout custom checkbox is checked in WooCommerce

Use same method for inertia response and json response Laravel Jetstream

How to submit a form when page loads using JavaScript?

How to separate letters and digits from a string in php

About Contact Privacy policy Terms and conditions