-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible bug with PHP PDO and with PostgreSQL #14665
Comments
I've noticed the same issue on a production server (Ubuntu 22) which got updated to PHP 8.3.8 running laravel 11.x connecting to postgres (16.2). |
More info as well. We are seeing this on various Laravel apps across PHP 8.2/8.3 and Ubuntu 22/24 while connecting to Postgres. |
PDO doesn't work. pg_connect works. Running command: |
Weird I see no change in pdo pgsql between those releases (8.2.20/8.2.19). About Docker, were they always the same images or were they updated as a whole ? |
Temp fix
I made a build of php 8.2.19, and it had the same bug, however I can't confirm which pdo_pgsql this build was running. |
between php 8.1 and php 8.2 there is no real major changes, pgsqlGetnotify mind you but that s past the connection. |
Here are some packages that were updated with the unattended-upgrades around the time pdo stopped working: Update: I replaced php8.2-swoole 6.0.0-2 with version 5.1.3 configured with "--use-openssl" flag, and did not get this error when using pdo_pgsql. I don't think it is a problem with pdo_psql. |
No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you. |
Description
https://stackoverflow.com/questions/78669556/possible-bug-with-php-pdo-and-with-postgresql/78670026#78670026
What information do you need?
PHP Version
PHP 8.2.20
Operating System
Ubuntu 22.04 LTS
The text was updated successfully, but these errors were encountered: