Skip to content

build-master.py - fix ssl not working for 7.1 version#323

Merged
david-ruiz-cko merged 1 commit intomasterfrom
feature/fix-build-master-windows-flow
Mar 31, 2026
Merged

build-master.py - fix ssl not working for 7.1 version#323
david-ruiz-cko merged 1 commit intomasterfrom
feature/fix-build-master-windows-flow

Conversation

@david-ruiz-cko
Copy link
Copy Markdown
Contributor

This pull request enhances the reliability of the PHP 7.1 build process on Windows by improving the setup and verification of the OpenSSL extension and Composer fallback configuration. The changes ensure that the build workflow can handle common SSL issues with PHP 7.1 on Windows, automatically applying workarounds and verifying functionality to prevent build failures.

Improvements to OpenSSL setup and verification:

  • The workflow now attempts to enable the OpenSSL extension before downloading and installing the required DLLs, and explicitly copies the necessary DLL files into the PHP directory if found. If installation fails, it disables the extension and adds fallback SSL configuration.
  • After attempting setup, the workflow tests if the OpenSSL extension is actually loaded and working. If not, it disables the extension and applies a fallback configuration to ensure continued functionality.

Enhancements to Composer and dependency installation:

  • The workflow always configures Composer to use HTTP fallback settings for PHP 7.1 on Windows, due to persistent SSL issues, and adds additional verification to switch to an alternative package source if HTTP also fails.
  • The dependency installation step for PHP 7.1 on Windows now uses the --ignore-platform-reqs flag to avoid platform compatibility errors during installation.

@david-ruiz-cko david-ruiz-cko requested a review from a team March 31, 2026 11:39
@sonarqubecloud
Copy link
Copy Markdown

@david-ruiz-cko david-ruiz-cko merged commit d90f91c into master Mar 31, 2026
5 of 6 checks passed
@david-ruiz-cko david-ruiz-cko deleted the feature/fix-build-master-windows-flow branch March 31, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants