>We've installed and recompiled PHP but I still get "undefined function"
>errors when I try to use imap_open().
>Does anybody have any ideas?

Does <?php phpinfo();?> show IMAP support as being there?

Probably not.

Even if you *think* you have --with-imap in your configure line, what does
phpinfo() show?

Did you spell it right?

Did you watch the output from ./configure carefully as the IMAP stuff went
scrolling by?

./configure tends to "break" and not include stuff, but chugs right on by
and compiles PHP without it.

I've been using:

./config.mine 2>&1 > configure.output &


Then I can use tail -f or less to view the output and not lose all the info
I need.

config.log doesn't bother to log the answers (Yes/No) to the various
searches, since those go to stderr, I guess...  I dunno, really.  I just
know that I can't read config.cache like the experts do, but I can almost
handle the configure.output I make most of the time :-)

confige.mine just looks like:

./configure \
  --with-apxs=/path/to/my/apxs \
  --with-mysql=/usr/local \

Don't put a \ on the last line.

Like Music?  http://l-i-e.com/artists.htm

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to