[PHP] PHP + Apache + IMAP-SSL + LDAP = Headache

2002-02-21 Thread J. Rashaad Jackson

Hello all:

I am attempting to utilize IMP 3.0 as web based e-mail.  In order to do
this, I had to recompile PHP with --with-imap (imap-2001a from UW),
--with-xml, and --with-xml (God know why, but that's what IMP wanted).  All
went well, everything configured and compiled happily.  Then I tried to
start Apache.  And everything broke.  Can anyone give me any insight onto
why?  I checked Google and got nothing useful.  HELP!

Here's the error I get:

server:# apachectl configtest
Syntax error on line 62 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: tkt_string

Here's my config line:

 ./configure --with-imap-ssl=/usr/local/src/imap-2001a
 --with-ldap=/usr/local/openldap-1.2.12um7 --with-gettext --with-xml
 --with-mysql --with-mcrypt=/usr/local/lib --with-apache=../apache_1.3.22
 --enable-track-vars

Any help at all would be appreciated.  Thanks!

-- 
I have spoken.

J. Rashaad JacksonUNIX Systems Administrator
2032 Samuel T. Dana Building(W) 734.615.1422
Ann Arbor, MI 48109 (M) 734.649.6641
http://www.umich.edu/~jrashaad  (F) 734.763.8965



msg51007/pgp0.pgp
Description: PGP signature


[PHP] --with-imap-ssl

2001-07-27 Thread Held Markus

Hello,

i have a big problem. I want to compile php4.0.6  ./configure 
--with-imap --with-imap-ssl=/usr/lib 

checking for IMAP support... yes
checking for pam_start in -lpam... (cached) yes
checking for Kerberos support in IMAP... no
checking for SSL support in IMAP... yes
configure: error: This c-client library does not support SSL. Recompile 
or remove --with-imap-ssl from configure line.


i updated my imap to imap2000c
i updated my c-client to the newest

cp c-client.h /usr/lib/c-client.h
cp c-client.a /usr/lib/c-client.a

and copy rfc822.h, mail.h and linkage.h to   /usr/local/include


my config.log

configure:22595: checking for Kerberos support in IMAP
configure:22793: checking for SSL support in IMAP
configure:22914: gcc -o conftest -g -O2  -DEAPI_MM -DLINUX=2 
-DMOD_SSL=206105 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT  
-Wl,-rpath,/usr/local/lib -L/usr/local/
configure:22891: warning: initialization makes integer from pointer 
without a cast
configure:22891: parse error before `void'
configure: failed program was:

DLIBS=-lssl -lcrypto -lc-client 

#line 22889 configure
#include confdefs.h


whats wrong. Have anyone an idea

mfg snooter



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] --with-imap-ssl

2001-07-13 Thread alexus

i've tryed --with-imap-ssl in my configure line and i got this..

.
checking for SSL support in IMAP... yes
configure: error: This c-client library does not support SSL. Recompile or
remove --with-imap-ssl from configure line.
su-2.05#

what needs to be done in order to make it work?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] --with-imap-ssl

2001-05-16 Thread ilya

Has anyone been able to compile php with imap-2001 cclient with -imap-ssl
option?
it looks like format of cclient .h changed, and php is not able to find
certain fnctions. i was wondering if anyone found a hack around?

Looks like --with-imap-ssl is broken, imap2001 (latest c-client), does not
contain auth_ssl anymore, compilation of php --with-imap-ssl fails with:
/bin/sh /usr/tmp/php-4.0.5/libtool --silent --mode=compile gcc  -I.
-I/usr/tmp/php-4.0.5/ext/imap -I/usr/tmp/php-4.0.5/main -I/usr/tmp/php-4.0.5
-I/usr/local/include/apache -I/usr/tmp/php-4.0.5/Zend
-I/usr/local/include/freetype -I/usr/local/include/gd -I/usr/local/include
-I/usr/local/include/c-client/ -I/usr/local/include/mcal
-I/usr/local/include/mysql -I/usr/tmp/php-4.0.5/ext/xml/expat/xmltok
-I/usr/tmp/php-4.0.5/ext/xml/expat/xmlparse -I/usr/tmp/php-4.0.5/TSRM
-DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION=/usr/local/www/data/
-DDEFAULT_PATH=/usr/local/bin:/bin:/usr/bin -DACCEPT_FILTER_NAME=httpread
y
-DMOD_SSL=208102 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDE
R=12
-g -O2  -c php_imap.c
php_imap.c: In function `php_minit_imap':
php_imap.c:451: `auth_ssl' undeclared (first use in this function)
php_imap.c:451: (Each undeclared identifier is reported only once
php_imap.c:451: for each function it appears in.)
*** Error code 1

Stop in /usr/tmp/php-4.0.5/ext/imap.
*** Error code 1

Stop in /usr/tmp/php-4.0.5/ext/imap.

i have tried to remove that one line in php_main.c which references
auth_ssl, and it does compile after that, but apache fails to start:
apachectl configtest
Syntax error on line 177 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp4.so into server:
/usr/local/libexec/apache/libphp4.so: Undefined symbol ssl_onceonlyinit




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] --with-imap-ssl

2001-03-28 Thread Nate Mueller

Does anyone know how to use imap with ssl if this configure option is 
given (4.0.3 and later)?  I can't find anything in the docs.

--Nate


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]