Compile PHP with IMAP support
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' \
Anyone can help compiling PHP with imap support?
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?
|All times are GMT -5. The time now is 09:50 AM.|