Hello Sergiu,
Thank you for your questions and I am happy to answer.
1. Yes, you can store the W3 Total Cache configuration in a database instead of the file. For more details and instructions please check out our FAQ page.
2. This error occurs because the curl verifies and makes a secure connection request using a self-signed certificate. When it does not find the valid certificate, it throws an error.
You can try the following:
– Download “cacert.pem” from here: http://curl.haxx.se/docs/caextract.html.
– Save the cacert.pem
file anywhere on your system.
Example: Since you’re modifying both php.ini, and telling PHP where to look for this file on a Windows server, save the cacert.pem in "C:\PHP\Extras\SSL"
.
– Open your php.ini
file. If your php.ini file doesn’t have the curl.cainfo
line, just add it to the end of the file, then add the file path where you saved your cacert.pem
file:
Change:
; curl.cainfo =
To:
curl.cainfo = "C:\PHP\Extras\SSL\cacert.pem";
Restart your server.
If you are unsure about the steps, please reach out to your hosting provider for assistance with this.
I hope this helps and let me know if you have any other questions.
Thanks!