PDA

View Full Version : imap_open



redeye
07-21-2004, 10:45 PM
I move a website to my new server and now a routine doesn't work anymore. It calls imap_open() from an php-script and gives the error: Fatal error: Call to undefined function: imap_open()

I think php isn't compiled with this function included, am I right? If so, what can I do about it and how do I do that. If not, what's wrong??????

Icheb
07-22-2004, 04:38 AM
PHP should be compiled with IMAP support for this command...

Don't know for sure, but i thought you have to add --with-imap to the ./configure of php (configure.php in the customapache dir).
Note the '\' ending on all the lines in that file that aren't the last line...

thuskey
07-22-2004, 06:00 AM
When I was upgrading to a newer version of horde, I had a similar problem. I went to http://www.php.net/manual/en/ref.imap.php to find my fix.

redeye
07-25-2004, 10:40 PM
It worked, but I used a small howto from Tino, which got me through it step by step. It's pretty much the same, but I liked it just a bit more :).

http://www.directadmin.com/forum/showthread.php?s=&threadid=1640&highlight=imap

Thx anyway for the hint. Maybe thisone is something for the BIG howto?