Back

PHP Error

  • 0
  • Auth
Scoppy
9 Feb, 2025, 16:10

Hi guys, I tried to use Appwrite for the first time in PHP and got a certificate error. I did not find any solution. I tried to create users. Here's the messages :

Fatal error: Uncaught Appwrite\AppwriteException: SSL certificate problem: unable to get local issuer certificate in C:\wamp64\www\TESTAPP\vendor\appwrite\appwrite\src\Appwrite\Client.php on line 260# Appwrite\AppwriteException: SSL certificate problem: unable to get local issuer certificate in C:\wamp64\www\TESTAPP\vendor\appwrite\appwrite\src\Appwrite\Client.php on line 260

Thanks for your help.

TL;DR
Issue: Developer encountered an SSL certificate problem while using Appwrite for the first time in PHP. Solution: The error message is related to an SSL certificate problem. To resolve this, the developer needs to ensure that the necessary SSL certificates are correctly configured on the server. This could involve updating the PHP.ini file to point to the correct CA certificate bundle or checking the server's SSL certificate configuration. Additionally, the developer can try disabling SSL verification temporarily for testing purposes, but this is not recommended for production environments due to security implications.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more