title: enable sodium extension php 8 macOS
body: <p>I've already uncommented <code>extension=sodium</code> in my <code>php.ini</code> and restarted the server. But when I run <code>php artisan serve</code> the result is:</p>
  <blockquote>
  <p>PHP Warning:  PHP Startup: Unable to load dynamic library 'sodium' (tried: /opt/homebrew/lib/php/pecl/20210902/sodium (dlopen(/opt/homebrew/lib/php/pecl/20210902/sodium, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/sodium' (no such file)), /opt/homebrew/lib/php/pecl/20210902/sodium.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/sodium.so, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/sodium.so' (no such file))) in Unknown on line 0.</p>
  </blockquote>
  <p>Does anyone know why?
  Thanks</p>