- Notifications
You must be signed in to change notification settings - Fork11.7k
[13.x] Fixes PDO::MYSQL_ATTR_SSL_CA deprecation messages#57287
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[13.x] Fixes PDO::MYSQL_ATTR_SSL_CA deprecation messages#57287
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Laravel 13 is expected to be released somewhere between February and march 2026. PHP 8.3 active support ends on 31 dec 2024.PDO::MYSQL_ATTR_SSL_CA throws deprecation errors as of PHP 8.5:Deprecated: Constant PDO::MYSQL_ATTR_SSL_CA is deprecated since 8.5, use Pdo\Mysql::ATTR_SSL_CA instead in/Users/sandermuller/Documents/GitHub/hihaho/vendor/laravel/framework/config/database.phpon line 84
Thanks for submitting a PR! Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface. Pull requests that are abandoned in draft may be closed due to inactivity. |
crynobone commentedOct 7, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
We're not removing PHP 8.2 and 8.3 on patch release. |
crynobone commentedOct 7, 2025
The best way forward is actually to wait forsymfony/polyfill#547 |
SanderMuller commentedOct 7, 2025
I understand, that's why it's a PR to master for 13.x, though we can probably indeed wait for the polyfil and then make this change in 12.x |
crynobone commentedOct 7, 2025
Laravel 13 will requires PHP 8.3 as minimum |
SanderMuller commentedOct 7, 2025
@crynobone will close if that's a hard decision (understandable one, since it has security fixes support for ~a year from the release of L13) |
SanderMuller commentedOct 21, 2025
Now waiting forsymfony/polyfill#549 to recreate this PR based on that polyfill |
Uh oh!
There was an error while loading.Please reload this page.
PDO::MYSQL_ATTR_SSL_CA throws deprecation messages as of PHP 8.5:
Laravel 13 is expected to be released somewhere between February and march 2026. PHP 8.3 active support ends on 31 dec 2024. With this PR I propose to drop PHP 8.3 support by then so we can start fixing PHP 8.5 deprecation errors since
Pdo\Mysqlis only available as of PHP 8.4fixes#57141