Missing PDO extensions for PHP 8.0 in Linux (Pop!_OS/Ubuntu)

Bug Summary

I’m running Local 6.7.2+6375 in Pop!_OS and I’m having issues with PHP 8.0. For some reason PHP 8.0 is compiled without PDO extensions, but those extensions are present if I switch to PHP 8.1.

PHP 8.0.22:

PHP 8.1.9:

Steps to reproduce

  1. Create a new site, and switch the PHP to 8.0.22.
  2. Run the site.
  3. Click in Details link close to “PHP Version”.
  4. Navigate to the “PDO” section.
  5. Check the “PDO” section is empty.

Environment Info

Describe your environment.

  • What Operating System are you using?
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used?
    Nginx, PHP 8.0.22 and MySQL 8.0.16.
  • What version of Local is installed?
    Local 6.7.2+6375

Supporting info

local-lightning.log (134.2 KB)

I’m seeing this with PHP 7.4 and 8.0.22. PHP 8.1 is fine.
Similar to Missing PDO extension for PHP 8.1 under Linux

I’m also on Pop!_OS.

Hey @marty and @claudiosanches!

You’re correct that this wasn’t compiled for PHP 8, but was for 8.1. We aim to correct this when we roll out PHP 8.2 which will level the playing field for all operating systems. So stay tuned for us to drop a release in the near future with that. Releases - Local

Hello @Nick-B, I’m still experiencing this issue in Local 7.1.

And you’re utilizing PHP 8.2?

I’m still using PHP 8.0.

Hi @claudiosanches

I got confirmation on this. The rollout to make this available to other OSes hasn’t been completed yet. We had to prioritize some other bugs and features. It’s still in the works, but we don’t have an ETA to provide. The next release you see will include some minor fixes for other things but not an update on this specifically. Once we get this ready and rolled out we will provide an update here!