php
php copied to clipboard
Postgres connection error - "SCRAM authentication requires libpq version 10 or above"
Bug happend in
- Version: 0.3.2 -> 0.5.2
Description
This error happend if i try to connect to my supabase postgres database: "SCRAM authentication requires libpq version 10 or above". Is there an option to solve this error?
Same problem here, if you have any solution I'll take it !
Same problem here.
up, same problem
Linked to:
- https://github.com/scram-sasl/info/issues/1
Hi folks! I am not sure if there is any way to upgrade libpq to newer version, because lambdas are using Amazon Linux 2 under the hood. But, I will try to take a look deeper.
Will this fix work? https://stackoverflow.com/a/72703748
I've been using Planetscale instead as my database temporarily and that works for now but would love to get Postgres working.
is there an update?
I have an update: Found time to work my way into the platform and found a fix for it. The problem needs to be fixed in libphp. I will put a PR there and hope that @f3l1x will release a new package version for everyone in time :)
@SchramlTim: Where is the PR? Maybe good to specify ;)
And please reopen this ticket, currently it is not solved.
Ofcouse
https://github.com/juicyfx/libphp/pull/376
Same problem too @SchramlTim i tried to connect using PDO method with php-vercel function: https://github.com/vercel-community/php
how do i use libphp in my project ?
i need create this architecture in my project just ?
├── dist // │ └── *.js └── native // ├── lib // │ └── * (shared libs) // └── php // ├── modules // │ └── *.so (php modules) // ├── composer // ├── php.ini // ├── php // ├── php-cgi // ├── php-fpm // └── php-fpm.ini
I am working on it. I need to release new version.
Hi, can you folks try new versions?
[email protected] - PHP 8.2.x (https://example-php-8-2.vercel.app/) [email protected] - PHP 8.1.x (https://example-php-8-1.vercel.app/) [email protected] - PHP 8.0.x (https://example-php-8-0.vercel.app/) [email protected] - PHP 7.4.x (https://example-php-7-4.vercel.app/)
@SchramlTim, @MaksOuw, @snuggneighborhood, @irfanhkm, @tao, @HugoBarjot: Can you try the new versions specified by @f3l1x?
Connection work for me with this 0.6.0 version
Tested it too. PHP 8.2 works for me fine.
Awesome. Thank you guys for waiting and @SchramlTim for code updates.
Awesome. Thank you guys for waiting and @SchramlTim for code updates.