开发者

install imap in windows

开发者 https://www.devze.com 2022-12-21 15:58 出处:网络
I\'m trying to write a script in php that requires imap functions. I found the functions at here. How do I down开发者_运维知识库load and install it in windows ?

I'm trying to write a script in php that requires imap functions. I found the functions at here. How do I down开发者_运维知识库load and install it in windows ?


I found the functions at here

No - the link you provided is the documentation for the functions.

I guess you are on a Microsoft Windows platform since you've tagged your question with 'windows' even though its nothing to do with GUIs or data window algorithms (in future it might be a good idea to be a bit more explicit, particularly when talking about installing software).

The imap extension comes as standard with the MSWindows PHP installation. You just need to enable it in your php.ini

Run

 <?php phpinfo(); ?>

To find out what ini file your installation is using. The default php.ini should already contain a line to load the extension but commented out:

;extension=php_imap.dll

Change this to (or add):

extension=php_imap.dll

Note that if you are running php within a webserver or as fastcgi, you'll need to restart it for the change to take effect.


just change some line in your php.ini file and problem is solve.

;extension=php_imap.dll

to

extension=php_imap.dll


If someone using XAMPP package on the windows machine try to look for ;extension=php_imap inside the php.ini file. And then remove the semicolon when found, I had the same issue while installing the suitecrm.

0

精彩评论

暂无评论...
验证码 换一张
取 消