LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2004, 11:18 AM   #1
ultrafluke
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Unhappy Compile PHP with IMAP support


Hi!

I have configured and installed Apache with PHP, mod_ssl and mod_perl (everything was compiled by hand).

My problem is that i can't compile PHP --with-imap support! The configure make and make install goes fine but I can't start apache! The error on error.log is this one:
--
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
--

It seems that apache (httpd.conf) do not recognize/can't start SSL, but i think that there's no problem with SSL because if i compile PHP without imap the server starts sucessfully but I have no imap support.

I've tried to compile: --with-imap=/usr --with-imap=shared,/usr but it didnt work..

The OS is Debian stable (Woody), and I have libc-client2001 and libc-client2001-dev installed byt apt-get.

My configure options to compile PHP are:
---
CFLAGS='-O2 -I/usr/local/src/openssl-0.9.7e -DEAPI' \
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug \
--enable-sockets \
--enable-bcmath \
--enable-ftp \
--enable-calendar \
--enable-mailparse \
--enable-memory-limit \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstring \
--enable-mm=shared \
--enable-safe-mode \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx=shared \
--enable-xml \
--with-ming \
--with-xmlrpc \
--with-mcrypt \
--with-dom \
--with-gd \
--with-png-dir=/usr/lib \
--with-jpeg-dir=/usr/lib \
--with-tiff-dir=/usr/lib \
--with-ttf-dir=/usr/lib \
--with-zlib-dir=/usr/lib \
--with-gettext \
--with-mysql=/usr/local/mysql \
--with-regex=system \
--with-xml \
--with-zlib-dir=/usr/lib \
--with-openssl \
--with-pear
--with-imap
---

Anyone can help compiling PHP with imap support?

Thanks.

Last edited by ultrafluke; 12-03-2004 at 12:06 PM.
 
Old 12-03-2004, 12:04 PM   #2
ultrafluke
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0
UPDATE:

I downloaded and compiled imap2004 (ftp://ftp.cac.washington.edu/imap/imap-2004a.tar.Z) and proceeded as it is said on www.php.net/imap

Unfrotunally that didn't work, and know, I dont even can compile PHP withou IMAP because when I'm starting apache, I always get this error:
---
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: OPENSSL_add_all_algorithms_noconf
---

If I comment the PHP Load/AddModule Apache starts sucessfuly, but without PHP

Anyone knows what I'm doing wrong?

Thanks.
 
  


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
IMAP compiling with Mysql support. sixth_sense Linux - Software 3 05-08-2004 03:57 PM
adding imap support to php lmromena Linux - General 2 04-28-2004 10:24 PM
Problems compiling php with imap, ssl... support tveiga Linux - Software 1 01-16-2004 09:06 PM
IMAP works but IMAP TLS doesn't under PHP (Horde IMP) theparadigm Linux - Software 0 11-17-2003 12:35 AM
Compile PHP w/ XML Support (RedHat) robadawb Linux - Software 0 04-07-2003 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 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