php-imap

Adding IMAP to PHP 7.2 on OSX

谁说我不能喝 提交于 2019-12-10 03:24:19
问题 I'm using PHP 7.2 on OS X El Capitan, installed using Homebrew (of course). Now I'd like to use some IMAP functions from PHP's IMAP extension, but no matter what I search for, I can't find a way to add the extension on OSX. Some things I've tried... I have, of course, tried the most commonly recommended approach: $ brew reinstall php --with-imap Yet this fails, returning: Warning: php: this formula has no --with-imap option so it will be ignored! Another method, which I found mentioned in

Adding IMAP to PHP 7.2 on OSX

此生再无相见时 提交于 2019-12-05 03:45:20
I'm using PHP 7.2 on OS X El Capitan, installed using Homebrew (of course). Now I'd like to use some IMAP functions from PHP's IMAP extension, but no matter what I search for, I can't find a way to add the extension on OSX. Some things I've tried... I have, of course, tried the most commonly recommended approach: $ brew reinstall php --with-imap Yet this fails, returning: Warning: php: this formula has no --with-imap option so it will be ignored! Another method, which I found mentioned in passing, also fails: $ brew install php72-imap Error: No available formula with the name "php72-imap" ==>