Repository navigation
Stop the PHP 8.5 deprecation warning for the MySQL SSL option - #298
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PhilReinking
marked this pull request as ready for review
October 22, 2026 12:58
PhilReinking
commented
Oct 22, 2026
PhilReinking
left a comment
Contributor
Author
There was a problem hiding this comment.
OK at bdbc7ca (CI: the PM checks it). config/database.php is the same blob (eee86f21) as deck9/input-hosted#22. Checked there on php:8.5-cli 8.5.12: [1008 => CA], no deprecation; on php:8.3-cli 8.3.36: [1009 => CA]. No other PDO::MYSQL_ATTR_ in config/ or app/. The changelog line is under [Unreleased] → Fixed with (#298). No security change.
This was referenced Oct 22, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of BITS-386
What changed
The MySQL SSL option in
config/database.phpnow usesPdo\Mysql::ATTR_SSL_CAon PHP 8.5 andPDO::MYSQL_ATTR_SSL_CAbefore. PHP 8.5 deprecates the old name, so every container start printed "PHP Deprecated". No otherPDO::MYSQL_ATTR_uses are inconfig/.Tested
Built the image (PHP 8.5.12):
artisan optimize:clearprints no "Deprecated".With
MYSQL_ATTR_SSL_CA=/x, the mysql options hold the CA on PHP 8.5.12 (key 1008) and on PHP 8.3.35 in sail-8.3/app (key 1009).Not tested
A real TLS connection to a MySQL server.
After merge
Nothing to do.
🤖 Generated with Claude Code