title: PHP Imap , php 7.4.3 on mac osx catalina
body: <p>This is officially driving me nuts! I'm trying to work with a laravel package for imap functions and I've installed everything there but I get a missing class error for imap_open</p>
  
  <p>I know this means the imap module is not installed, or is problematic, at the php level.</p>
  
  <p>I've edited my php.ini file to have <code>extension=imap</code> and now when I run any php command from the terminal CLI I get <code>PHP Warning:  PHP Startup: Unable to load dynamic library 'imap' (tried: /usr/local/lib/php/pecl/20190902/imap (dlopen(/usr/local/lib/php/pecl/20190902/imap, 9): image not found), /usr/local/lib/php/pecl/20190902/imap.so (dlopen(/usr/local/lib/php/pecl/20190902/imap.so, 9): image not found)) in Unknown on line 0</code></p>
  
  <p>When I navigate to user/local/lib/php I have a 7.4 folder, in that I have a conf.d folder, pear.conf file, php-fpm.consf file, php-fpm.d folder, and php.ini file</p>
  
  <p>What do I need to do at this point?</p>