Reputation: 180
I have Apache server on Mac OS 10.8. I need module IMAP to be enabled in PHP. I followed this instruction http://blog.xeonxai.com/2009/12/03/160/. I have installed imap.so and link it in php.ini file like this
extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/imap.so
But I cannot get IMAP modules when print out phpinfo()
as well as imap_open
function. What's wrong with my web server ?
Thanks for helping !
Upvotes: 6
Views: 10528
Reputation: 11425
This is what I did to have the IMAP module working:
brew install php56 --with-imap
LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so
sudo apachectl restart
Upvotes: 7