-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to undefined function Webklex\IMAP\imap_open() - Mac OS #279
Comments
@Webklex Sorry, not sure I understand the reference... New to php and I am unable to find any info. Is there something I should change? |
Hi @FounderCasey , |
@Webklex I went ahead and tried that but the error just changed to
|
Please check the output of php_info(). The php-imap module might not be enabled on your Webserver? Yes I know your cli does say its installed but your apache or nginx has its own config (php.ini). |
`user "MYUSER" staff; events { http {
} This is all I could find in regards to an actual config file for Nginx... This must be my set up. In phpinfo() - my server-software shows
|
I did some more research. sudo apt-get install php5-imap
sudo php5enmod imap
service php5-fpm restart
sudo service nginx restart |
Still nothing... Well, this sucks. Been a week now and I have yet to find a fix. Thank you for your responsiveness and effort to help! |
@Webklex I factory reset my workspace and I found out that all the requirements except for php-imap come in I am not sure where I went wrong, I believe it was because I had different .ini files and I had no clue where they were. Lots of random errors here and there. Again, thank you for your help and this package! |
Hello,
I have a Laravel 6 and PHP 7.4.1 project looking to incorporate Laravel IMAP.
I had some trouble installing the package, but finally got composer to install it. Now I am getting this error when trying to connect.
Call to undefined function Webklex\IMAP\imap_open()
I have read that this could be an issue with PHP not finding my IMAP extension.
When I run php -i | grep imap
Protocols:
Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
Full return:
Additional .ini files parsed => /usr/local/etc/php/7.4/conf.d/ext-imap.ini, Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp imap imap.enable_insecure_rsh => Off => Off
Any pointers?
The text was updated successfully, but these errors were encountered: