Add imap extension to PHP on OSX El Capitan

Wednesday, November 4, 2015

I'm working on a project where I need imap_open() function and I just bought my first Macbook Pro with OSX El Capitan on it.



I activated the extension in php.ini but the .so file is missing, searching on how to install imap extension doesn't work on El Capitan and while compiling I get error osdep.c:170:10: fatal error: 'x509v3.h' file not found



Anyone know what should I install in order to get that header file or is there any easy way to install extension like on Linux (yum install php5-imap, apt-get install php5-imap) ?

0 comments:

Post a Comment