Skip to content

Bug: Unable to install extension pdo_oci on PHP 8.5 #1028

Closed

Description

@derrabus

Describe the bug

When setting up PHP 8.5 with pdo_oci, the action fails with…

/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh

==> Setup PHP
✓ PHP Installed PHP 8.5.0

==> Setup Extensions
Error: The process '/usr/bin/bash' failed with exit code 1

Setting up PHP 8.5 with other extensions (including oci8) works fine.

Version

  • v2
  • v1

Runners

GitHub Hosted

Operating systems

Ubuntu 24.04

PHP versions

PHP 8.5

To Reproduce

https://github.com/doctrine/dbal/blob/e524b48d624719ba2bfb7591a4782d05d3b4d6bd/.github/workflows/phpunit-oracle.yml#L37-L45

Expected behavior

PHP is installed with pdo_oci.

Screenshots/Logs

https://github.com/doctrine/dbal/actions/runs/19612973127/job/56161520223?pr=7219#step:4:18

Image

Additional context

No response

Are you willing to submit a PR?

Yes

Activity

  1. shivammathur commented on Nov 23, 2025

    @shivammathur
    Owner

    Fixed in 7662a9b. Will be in the next release.

  2. shivammathur commented on Nov 26, 2025

    @shivammathur
    Owner

    Released the fix in 2.36.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions