Skip to content

Fix PHP integration dependency installation#327

Open
somethingwithproof wants to merge 1 commit into
Cacti:developfrom
somethingwithproof:ci/fix-php-integration-dependencies
Open

Fix PHP integration dependency installation#327
somethingwithproof wants to merge 1 commit into
Cacti:developfrom
somethingwithproof:ci/fix-php-integration-dependencies

Conversation

@somethingwithproof

Copy link
Copy Markdown
Contributor

Summary

Remove the Ubuntu-versioned Apache PHP module from the integration-test dependencies. PHP is provided by shivammathur/setup-php, and the workflow executes Cacti through the CLI.

Ubuntu latest no longer supplies libapache2-mod-php8.1 or libapache2-mod-php8.2, which caused the corresponding matrix jobs to fail before tests ran.

Validation

  • git diff --check
  • Workflow syntax checked with Actionlint (only pre-existing shell warnings remain)

Copilot AI review requested due to automatic review settings July 14, 2026 05:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the GitHub Actions integration-test workflow to avoid installing an Ubuntu-version-specific Apache PHP module package that is no longer available on ubuntu-latest. The workflow already provisions PHP via shivammathur/setup-php and runs Cacti installation and operations via CLI, so removing the Apache module prevents matrix jobs from failing during dependency installation.

Changes:

  • Removed libapache2-mod-php${{ matrix.php }} from the apt-get system dependencies list.
  • Kept the remaining system packages (apache2, snmp tooling, rrdtool, fping) unchanged.

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.

2 participants