Bug 23751 - PHP not compiled with IMAP support
PHP not compiled with IMAP support
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Copeland
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-10 17:45 EST by Need Real Name
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-07 19:00:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-01-10 17:45:52 EST
[root@scootz inc]# rpm -q php mod_php php-imap

I'm trying to get some php scripts to work but they require IMAP support 
be compiled into PHP. I for the life of me can't get it to work.

I keep getting the error:
Fatal error: Call to undefined function: imap_open()
Comment 1 Nalin Dahyabhai 2001-01-23 12:57:46 EST
Please check that the line:
is not commented out in /etc/php.ini.
Comment 2 Need Real Name 2001-01-30 09:07:51 EST
[root@scootz /etc]# cat php.ini | grep -i imap

Yep, it's there. Still having issues.
Comment 3 Nalin Dahyabhai 2001-01-30 16:18:47 EST
I am unable to reproduce this with apache-1.3.14-3 and the php-4.0.3pl1-1 errata
packages.  A call to imap_open like this:

<? $imap = imap_open("{myserver}INBOX", "nalin", "wrongpass", 0); ?>

Returns an error:
Warning: Couldn't open stream {myserver}INBOX in /var/www/html/imaptest.php on
line 1

How are you calling the function?
Comment 4 Need Real Name 2001-01-30 18:04:48 EST
Using the package PHPGroupWare (http://www.phpgroupware.org) Happens with the 
latest release as well as the CVS version.

function open($mailbox,$username,$password,$flags="")
      return imap_open($mailbox,$username,$password,$flags);
Comment 5 Need Real Name 2001-01-31 20:16:26 EST
Upgraded to php-4.0.4pl1-3 and it works fine now.
Comment 6 Nalin Dahyabhai 2001-02-02 01:03:07 EST
If you have a chance, please try the packages (currently 4.0.4pl1-5) in
http://people.redhat.com/nalin/test/, which are currently errata candidates.  If
everything continues working, I'll be ecstatic and close this one out as fixed
in an errata.

Comment 7 Bill Nottingham 2001-12-07 22:33:04 EST
closing as fixed in 4.0.4pl1-3 errata.

Note You need to log in before you can comment on or make changes to this bug.