|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests |
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 01:00:01 2025 UTC |
I'm trying to get PHP to compile/run with IMAP support. I'm have Apache v1.3.6 and everything works fine without IMAP support. I've tried IMAP v4.4 and v4.5. I compiled IMAP, copied all the headers and c-client.a to /usr/local/<dir> and created the link to c-client.a (and the IMAP and POP servers work fine). I can 'make' PHP and do a 'make install' to copy the files to the Apache src tree. I can 'make' Apache without any problems, and 'make install-programs'. But now upon restarting the server I get the following error: Syntax error on line 236 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp3.so into server: /usr/lib/apache/libphp3.so: undefined symbol: mxdriver I'm using the following script to configure PHP: ./configure \ --with-pgsql \ --with-apache=../apache_1.3.6 \ --enable-track-vars \ --with-config-file-path=/etc/httpd/conf \ --enable-sysvshm=yes \ --enable-sysvsem=yes \ --with-shared-apache=../apache_1.3.6 \ --with-apxs \ --with-zlib \ --with-yp \ --with-snmp \ --with-imap=/usr/local \ --with-gettext Am I doing something wrong? Argh!!! please help.. Thanks! :) **Update** I changed my config script to run the following: ./configure \ --with-pgsql \ --with-apache=../apache_1.3.6 \ --enable-track-vars \ --with-config-file-path=/etc/httpd/conf \ --with-shared-apache=../apache_1.3.6 \ --with-imap=/usr/local Now after I go through all the building and installing, when I start the server it comes up ok... I have NO clue why. What did I do wrong the first time?