Skip to content

Fix mysql tls encryption on PHP 8.5 - #2630

Merged
acelaya merged 3 commits into
shlinkio:developfrom
acelaya-forks:fix-mysql-tls-encryption
Jun 18, 2026
Merged

Fix mysql tls encryption on PHP 8.5#2630
acelaya merged 3 commits into
shlinkio:developfrom
acelaya-forks:fix-mysql-tls-encryption

Conversation

@acelaya

@acelaya acelaya commented Jun 18, 2026

Copy link
Copy Markdown
Member

Closes #2625

This PR reverts the changes from #2626, as they are required when PHP 8.4 is used, and adds a different set of options for when PHP >=8.5 is used, as those changes did not fix the original issue for PHP 8.5.

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.21%. Comparing base (fe2e962) to head (fdcfb68).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2630   +/-   ##
==========================================
  Coverage      94.21%   94.21%           
  Complexity      1605     1605           
==========================================
  Files            273      273           
  Lines           5017     5017           
==========================================
  Hits            4727     4727           
  Misses           290      290           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@acelaya
acelaya merged commit 5520846 into shlinkio:develop Jun 18, 2026
23 checks passed
@acelaya
acelaya deleted the fix-mysql-tls-encryption branch June 18, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5.1.0 (PHP 8.5) broke MySQL with TLS Enabled (MYSQL_ATTR_SSL_KEY)

2 participants