Re: problem with IMAP support
| From: | Richard Lynch | Date: | Thu, 18 Jul 2002 23:52:05 +0000 |
| Subject: | Re: problem with IMAP support | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-108385@lists.php.net to get a copy of this message | ||
>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 &
lately.
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