Bug 11427 - php-imap support no longer functions in 3.0.16
Summary: php-imap support no longer functions in 3.0.16
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: php
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
: 11487 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2000-05-16 00:02 UTC by Seth Vidal
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2000-05-16 14:16:18 UTC

Attachments (Terms of Use)

Description Seth Vidal 2000-05-16 00:02:20 UTC
Imp uses php-imap for connecting to imap servers.

The php ver 3.0.15 has a broken imap support function w/imp.
So I upgraded to 3.0.16 from rawhide.
when 3.0.16-2 is put in place I check to see what modules are enabled w/i

by loading a webpage with just this string in it:
<?php phpinfo(); ?>

the imap line on this page disappears.
under 3.0.15 (or with just the 3.0.15 imap.so file in /usr/lib/apache)
there is an imap entry in the phpinfo table.

It is building and its installed but the module does not function. I
haven't seen any error directly from php about it but php can be quiet
about errors.

I have checked to make sure the support wasn't disabled in php3.ini - it
has not been disabled - the module is just not being loaded.

Comment 1 Seth Vidal 2000-05-16 13:33:59 UTC
When I compile php manually with imap support turned on via the --with-imap
configure parameter I get the following error from attempting to load the php
module into apache:

cannot load /etc/httpd/modules/libphp3.so into server:
/etc/httpd/modules/libphp3.so: undefined symbol: gss_mech_krb5

So possibly this is a problem with the kerberos includes in the imap server
(which I presume are there b/c of the kerberizing of pine in this latest

I am using a stock redhat 6.2 system installed fresh just as a build machine.


Comment 2 Nalin Dahyabhai 2000-05-16 14:16:59 UTC
This looks like a linking bug.  PHP's IMAP module is built using a static
c-client library, which prevents the linker from automatically picking up and
adding the GSS-API libraries as a dependency.  This will be fixed in 3.0.16-5
in Raw Hide (ftp://ftp.redhat.com/pub/rawhide/).

Comment 3 Nalin Dahyabhai 2000-05-17 17:59:59 UTC
*** Bug 11487 has been marked as a duplicate of this bug. ***

Comment 4 Nalin Dahyabhai 2000-05-17 18:01:59 UTC
The PHP packages for 3.0.16-5 will be in http://people.redhat.com/nalin/test/
at least until the next refresh of Raw Hide.

Comment 5 Seth Vidal 2000-05-18 19:50:59 UTC
the php-3.0.16-5 spec file needs the following to make the mysql sections fully
work if you define mysql 1

%if %{mysql}
%package mysql
Group: System Environment/Daemons
Prereq: php = %{version}
Summary: A Mysql database module for PHP3.
Prereq: /usr/bin/perl
Provides: php_database
Obsoletes: mod_php3-mysql
BuildPrereq: MySQL-devel

%description mysql
MySQL package for PHP access to a MySQL Database


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