Skip to content

env library does not install #576

Discussion options

You must be logged in to vote

Support for installing libraries with pecl extensions is in develop branch. It will be in the next release.

Currently, use the install from source API of setup-php to do this.
https://github.com/shivammathur/setup-php/wiki/Add-extension-from-source

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  env:
    RDKAFKA_LIBS: librdkafka-dev
  with:
    php-version: '8.0'
    extensions: rdkafka-arnaud-lb/php-rdkafka@6.0.1

You do not need to specify extension=rdkafka.so in ini-values input.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@austrowGC
Comment options

Answer selected by austrowGC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants