Configuring my cURL settings in my PHP.ini file

Discuss server installationa nd configuration issues here

Moderators: gesf, Michalio

Post Reply
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Jan 30, 2023 7:23 am

I'm currently trying to configure the curl.cainfo info for my php.ini file due to getting the URL error 60 message.

I have downloaded the cacert.pem file to the root www localhost folder for for wamp64 as this file has to be an absolute path. So the extract of my php.ini file looks as follows:

Code: Select all

curl.cainfo = "C:\wamp64\www\cacert.pem"

Code: Select all

openssl.cafile= "C:\wamp64\www\cacert.pem"

Code: Select all

openssl.capath= "C:\wamp64\www\cacert.pem"
However, I'm still getting the same tedious Caught exception:
Could not send request to server. CURL error 60: SSL certificate problem: self signed certificate in certificate chain

I have Windows 10 (64x) & PHP version 7.4.33 & Apache

Solutions I have attempted:

1. Restarted PC

2. Restarted WAMP

3. Looked at other threads on here.
Post Reply