Jump to content
The Uniform Server Community
Sign in to follow this  
acc427

No imap

Recommended Posts

A green novice in Unform. Installed the latest Unformserver. Doesn't seem to have php_imap functionality so downloaded and replaced php with the windows 5.3.2 binary. Now I click on Server Status, I get a warning about the compiled version not matching php version.

 

... and imap still doesn't work even tho I see the php_imap.dll in the etc directory.

 

Suggestions

Share this post


Link to post
Share on other sites

You probably downloaded the VC9 binaries!

 

Correct one to use is:

 

php-5.3.2-Win32-VC6-x86

 

All the best

Ric :)

Share this post


Link to post
Share on other sites

Thanks Ric,

I had downloaded the php-5.3.2-nts-Win32-VC6-x86.zip so I decided to try again. I blew Uniformserver away and re-installed since its soooo easy :) .

 

Noticed that the php_imap.dll is missing from the usr\local\php\extensions directory so I added it from the the php 5.3.2 distribution. Then uncommented the php_imap.dll extension inthe production php.ini file.

 

Here are the errors I'm getting:

PHP Notice: Undefined variable: newmbox in C:\\Data\\UniServer\\www\\estmnts_new.php on line 4

PHP Fatal error: Call to undefined function imap_open() in C:\\Data\\UniServer\\www\\estmnts_new.php on line 170

 

Works fine on a linux server.

 

I am running Windows Server 2003 but I doubt this makes a difference.

Thanks for the suggestions

 

John

Share this post


Link to post
Share on other sites

Figured I'd update the ticket so others do not step in this hole.

 

There is php_imap.dll in the default install so you need to get it from php. Next uncomment the php_imap.dll in the php.ini and also (what got me) you need to check the extensions path to ensure its seeing teh ext dirtectory. Still don't have the emails being sent but imap seems to be working.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...