Skip to content

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

@derrabus

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

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