Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch_version doesn't change php-fpm #572

Closed
2 of 5 tasks
cjunge-work opened this issue Mar 6, 2022 · 2 comments
Closed
2 of 5 tasks

switch_version doesn't change php-fpm #572

cjunge-work opened this issue Mar 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@cjunge-work
Copy link

Describe the bug
Setting the desired version in the action doesn't switch php-fpm. The default seems to be php8.1 currently, but if I choose 7.4, then alternatives php-fpm isn't updated to php7.4-fpm.

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems
ubuntu-latest

PHP versions
7.4, 8.1

To Reproduce

      - name: Install PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '7.4'

Expected behavior
/run/php/php-fpm should invoke php7.4-fpm, but it is linked to php8.1-fpm. php7.4-fpm is installed.

Screenshots/Logs

Additional context

Are you willing to submit a PR?

@cjunge-work cjunge-work added the bug Something isn't working label Mar 6, 2022
@shivammathur
Copy link
Owner

Thanks for reporting this.
Fixed in e81b2b5 and shivammathur/php-ubuntu@9e6839a

@shivammathur shivammathur added the awaiting-release Added/Fixed and tested, awaiting release label Mar 7, 2022
@shivammathur
Copy link
Owner

Released 2.18.0 with fix.

@shivammathur shivammathur removed the awaiting-release Added/Fixed and tested, awaiting release label Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants