# Add imap extension in php using Mac OSX Catalina

**URL:** <https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451>\
**Category:** Support\
**Tags:** installation, php-extensions\
**Created:** [April 3, 2020, 3:55pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451 "2020-04-03T15:55:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevwaddell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kevwaddell/32/4098_2.png) [@kevwaddell](https://community.localwp.com/u/kevwaddell)\
**Post date:** [April 3, 2020, 3:55pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/1 "2020-04-03T15:55:24Z")

</div>

Hi I’ve noticed the imap extension is not active on PHP v7.3.5.  
I’ve tried the steps from the following links.

> **[Add IMAP PHP Extension](https://community.localwp.com/t/add-imap-php-extension/2382/2)**
>
> Hi Dieter, Here’s how you can compile IMAP for PHP 7.1.4 on the Custom environment using How do I compile additional PHP extensions? with a few modifications to the steps. Download and extract the appropriate PECL extension Download PHP 7.1.4...

> **[How do I compile additional PHP extensions?](https://community.localwp.com/t/how-do-i-compile-additional-php-extensions/2272)**
>
> You can use this guide to compile most PECL extensions in Local. We’ll use SSH2 as the example here. Download and extract the appropriate PECL extension Download the appropriate version here: https://pecl.php.net/package/ssh2 (if you’re using...

But because I’m working on a Mac the guides don’t work.  
Would it be possible to do a guide for Mac users.

Thanks, hope you can help.

---

<div class="post-metadata">

**Author:** ![flyjack](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/flyjack/32/7328_2.png) [@flyjack](https://community.localwp.com/u/flyjack)\
**Post date:** [April 3, 2020, 4:12pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/2 "2020-04-03T16:12:01Z")

</div>

What version of macOS are you running? Catalina limits running unsigned PHP binaries and makes this more difficult.

---

<div class="post-metadata">

**Author:** ![kevwaddell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kevwaddell/32/4098_2.png) [@kevwaddell](https://community.localwp.com/u/kevwaddell)\
**Post date:** [April 3, 2020, 5:37pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/3 "2020-04-03T17:37:23Z")

</div>

Sorry, yes it is Catalina 10.15.4. I thought it was Mojave.

---

<div class="post-metadata">

**Author:** ![kevwaddell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kevwaddell/32/4098_2.png) [@kevwaddell](https://community.localwp.com/u/kevwaddell)\
**Post date:** [April 3, 2020, 8:19pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/4 "2020-04-03T20:19:38Z")

</div>

Is there no fix for this on Catalina.

---

<div class="post-metadata">

**Author:** ![pinha](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/pinha/32/10092_2.png) [@pinha](https://community.localwp.com/u/pinha)\
**Post date:** [April 4, 2020, 8:47am UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/5 "2020-04-04T08:47:17Z")

</div>

Yah, I can’t get intl.so to work because of the unsigned php binaries!  
Could you help us out?

---

<div class="post-metadata">

**Author:** ![jdesj043](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jdesj043](https://community.localwp.com/u/jdesj043)\
**Post date:** [May 30, 2020, 7:16pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/6 "2020-05-30T19:16:34Z")

</div>

Also trying to add IMAP extension but I can’t follow the guide—it doesn’t work. Please advise, Local!

---

<div class="post-metadata">

**Author:** ![flyjack](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/flyjack/32/7328_2.png) [@flyjack](https://community.localwp.com/u/flyjack)\
**Post date:** [June 3, 2020, 6:31pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/7 "2020-06-03T18:31:31Z")

</div>

Apple has introduced new security requirements in macOS Catalina, and as @pinha pointed out, Catalina won’t run unsigned binaries.

One solution would be creating an Apple developer account and notarizing the binaries yourself OR disabling SIP (not recommended!).

We’re exploring offering PHP binaries as a service within Local, but this falls outside Local’s mission (historically). TBD!

---

<div class="post-metadata">

**Author:** ![pinha](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/pinha/32/10092_2.png) [@pinha](https://community.localwp.com/u/pinha)\
**Post date:** [June 3, 2020, 6:45pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/8 "2020-06-03T18:45:36Z")

</div>

I was able to put extensions to work, and I believe Local Team would also do it, but I don’t know if the team is interested on doing this because it enables Local to be used in substitution of AMPP p.e. (I would buy it for sure).  
I can share a tutorial in how to add extensions to Local’s by compiling a new PHP installation, if Local Team authorise me to do it. I don’t mess with other peoples work and effort.

Best regards.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 1, 2020, 6:59pm UTC](https://community.localwp.com/t/add-imap-extension-in-php-using-mac-osx-catalina/18451/9 "2020-09-01T18:59:52Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
