Memcached module suddenly gets installed on PHP 8 #371
-
For some reason the Memcached extension is finally being installed on our PHP 8 builds for laravel/framework. Before: https://github.com/laravel/framework/runs/1563519887?check_suite_focus=true#step:4:27 This causes some tests to fail on PHP 8. That's a good thing because we can identify these bugs and fix them now. However, I have no idea why suddenly the extension is being installed. https://github.com/php-memcached-dev/php-memcached doesn't has a new release tagged. Does anyone knows why this is suddenly happening? Then I can maybe try to install it locally as well in order to reproduce the failures. @shivammathur Sorry for pinging you directly but it would be really appreciated if you had any insights here. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@driesvints You can always reach out directly 😀 Now GitHub Actions ubuntu environments have PHP 8.0 from - name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: :memcached Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/428074802/workflow |
Beta Was this translation helpful? Give feedback.
-
@shivammathur It seems this still doesn't entirely resolves it for me sorry. I managed to get php-memcached installed locally and when I run the test suite for Memcached in Laravel everything passes fine. But on our CI build it continuous to fail. The most annoying thing about this all is that there's no stack trace. So we have no idea where the issue is coming from. Please see the failing build here: https://github.com/laravel/framework/pull/35647/checks?check_run_id=1571646358#step:8:99 Any help is appreciated because I've really exhausted my abilities here 😞 |
Beta Was this translation helpful? Give feedback.
-
Mockery is calling |
Beta Was this translation helpful? Give feedback.
@driesvints You can always reach out directly 😀
Previously installing
memcached
on PHP 8.0 required installinglibmemcached
manually beforesetup-php
.Now GitHub Actions ubuntu environments have PHP 8.0 from
ppa:ondrej/php
pre-installed along withphp8.0-memcached
package.Until you fix, if you want to remove
memcached
, you can specify it in extensions input prefixed with colon:
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/428074802/workflow