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

Installing scoutapm extension no longer works #738

Closed
2 of 5 tasks
asgrim opened this issue Jun 6, 2023 · 3 comments
Closed
2 of 5 tasks

Installing scoutapm extension no longer works #738

asgrim opened this issue Jun 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@asgrim
Copy link

asgrim commented Jun 6, 2023

Describe the bug
There appears to be some kind of regression installing the scoutapm PHP extension. Not sure why at the moment. Previously specifying extensions: scoutapm would install the scoutapm extension. Example build from 2nd May here.

Now, if I try the same job, I get the following error:

==> Setup Extensions
PHP Warning:  PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=/usr/lib/php/20170718/scoutapm.so from php.ini) in Unknown on line 0
✗ scoutapm Could not install scoutapm on PHP 7.2.34
Error: The process '/usr/bin/bash' failed with exit code 1

Example build from today here.

This is correct, scoutapm is a Zend Extension, but previously whatever the shivammathur/setup-php action did to install it was working...

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, Windows

PHP versions
PHP 7.2 through to 8.2

To Reproduce

https://github.com/scoutapp/scout-apm-php/blob/a67f695640d073f6c7322e1b24f3e8af3881e729/.github/workflows/continuous-integration.yml#L391-L397

Expected behavior

I expect scoutapm to be successfully installed still.

Screenshots/Logs

Additional context

Are you willing to submit a PR?

@asgrim asgrim added the bug Something isn't working label Jun 6, 2023
@shivammathur
Copy link
Owner

Sorry for the regression.

This is fixed in fb5054b. It will be in the next release.

@shivammathur shivammathur added the awaiting-release Added/Fixed and tested, awaiting release label Jun 6, 2023
@shivammathur
Copy link
Owner

Released 2.25.3 with the fix.
https://github.com/shivammathur/setup-php/releases/tag/2.25.3

@shivammathur shivammathur removed the awaiting-release Added/Fixed and tested, awaiting release label Jun 12, 2023
@asgrim
Copy link
Author

asgrim commented Jun 12, 2023

Thank you!

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