When i try to test PHP 8.0 or nightly or 8.0snapshot, i get the following error.
Also, when i try to install apcu extension, it warns that it is already installed.
PHP 7.3 and 7.4 works great!
Btw all unit tests passed on local machine.
Do you have an idea about the solution?
Should we wait a little longer for PHP 8?
Error Output
Warning: PHP Startup: Unable to load dynamic library ‘apcu.so’ (tried: /home/travis/.phpenv/versions/8.0.0/lib/php/extensions/no-debug-zts-20200930/apcu.so (/home/travis/.phpenv/versions/8.0.0/lib/php/extensions/no-debug-zts-20200930/apcu.so: cannot open shared object file: No such file or directory), /home/travis/.phpenv/versions/8.0.0/lib/php/extensions/no-debug-zts
After digging a bit, I found this build by krakjoe, (same repo I pointed you to) and it seems this person has apcu.so working on nightly and 8.0snapshot. I would suggest going over their .travis.yml to see if there’s anything you missed out.
Travis CI can test your PHP applications with a nightly PHP build, which includes PHPUnit and Composer, but does not include third-party PHP extensions: