Skip to content

Bug: grpc extension won't setup on ubuntu-latest + PHP 8.5 #1041

@SRWieZ

Description

@SRWieZ

Describe the bug

Run shivammathur/setup-php@v2
/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
PHP Warning:  PHP Startup: Unable to load dynamic library 'grpc.so' (tried: /usr/lib/php/20250925/grpc.so (/usr/lib/php/20250925/grpc.so: undefined symbol: zend_exception_get_default), /usr/lib/php/20250925/grpc.so.so (/usr/lib/php/20250925/grpc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✗ grpc Could not install grpc on PHP 8.5.0
✓ intl Enabled

Version

  • v2
  • v1

Runners

GitHub Hosted

Operating systems

Ubuntu 24.04.3 LTS (ubuntu-latest)

PHP versions

PHP 8.5

To Reproduce

https://github.com/SRWieZ/grpc-protoset/blob/b8725d6bb850f71f952811b697084b5af0c8fbb4/.github/workflows/test.yml

Expected behavior

Works on windows and macOS but not on ubuntu.

Screenshots/Logs

https://github.com/SRWieZ/grpc-protoset/actions/runs/19890888242/job/57009165656?pr=1

Additional context

No response

Are you willing to submit a PR?

Yes

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingupstream-issueIssue in an upstream project

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions