At the moment the memcached extension isn’t loaded anymore for at least PHP versions 7.1, 7.2 & 7.3. I believe this suddenly has stopped working for an unknown reason. I haven’t pinpointed the exact time when this happened because of the sheer large amount of builds for the library.
If you look at the following build you’ll see that all are reporting “Unable to load dynamic library memcached.so”: https://travis-ci.org/laravel/framework/builds/491357145
Here’s our Travis setup: https://github.com/laravel/framework/blob/5.7/.travis.yml
We’re using Xenial as dist.
We’re enabling the memcached extension as described in the docs here (which has always worked in the past): https://github.com/laravel/framework/blob/7725e6434206e086a9d67ed86728f8832be4192b/.travis.yml#L32
Because of this our Memcached tests are being skipped. We’ve enabled skipping to allow tests to still run locally even if you don’t have Memcached installed on your local machine.
If you look at the following build where we install memcached ourselves with PECL, all works as expected: https://travis-ci.org/laravel/framework/builds/491620024