LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2002, 08:03 AM   #1
keevitaja
Member
 
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Rep: Reputation: 15
problem with imap_open()


when i try to call the function imap_open() in php i get the following error:


Fatal error: Call to undefined function: imap_open() in /var/www/html/mail/imap.php on line 2

phpinfo() shows that mod_imap is loaded. and in php conf file in /etc/php.ini there is imap as well.

why does it still say that i don't have this function?
php version: 4.2.2
apache version: 1.3.23
 
Old 08-22-2002, 10:30 AM   #2
no2nt
Member
 
Registered: Aug 2001
Location: South Carolina, USA
Distribution: Redhat 8.0/Custom
Posts: 96

Rep: Reputation: 16
mod_imap != IMAP

Here's why I think you are getting that error:

mod_imap is an Apache module for server-side imagemap
processing not the IMAP protocol for manipulating mail.

In order to get the imap_open() functionality in
PHP you'll need to recompile PHP with the --with-imap option.
--with-imap requires c-client. See this manual page for a complete
explanation:
http://www.php.net/manual/en/ref.imap.php
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration