Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSSQL and IMAP work fine separately...

Status
Not open for further replies.

kempis555

Programmer
Jan 2, 2001
77
Hi all.
I'm going nuts on this one.

I'm doing a web site where the CGI is Linux PHP and the database is on another server... MSSQL 2000.

Also, the existing mail portion of the site is done with the imap functions.

Anyways, I know how to compile PHP 4.0.6 to make it work with MSSQL, but when I do that the IMAP functions stop working. These only seem to work in 4.0.5. Is it because 4.0.6 now won't accept the --with-imap-ssl compiling option?

I don't know how to compile 4.0.5 PHP so that it works with SQL. Has anyone done that one?

Or am I doing something wrong with the 4.0.6 install so that IMAP stops working? Here's what I've found: though the word IMAP doesn't show up in a ps -A or ps -x it seems to be running because I can telnet into it. What seems to be going wrong is the following line from the "messages" file in /var/log:

badlogin: localhost.localdomain[127.0.0.1] CRAM-MD5 authentication failure [no secret in database]

This line shows up when I try to make an imap stream in the PHP. Anyone know what that is? What's a secret in database?

-Thanks in advance
-Mark

is actually Cram pronounced backwards I just noticed. Ominous. :-0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top