I have been trying to upgrade my PHP installation to 4.06. I can't find an RPM for my Mandrake 7 system, so I am compiling from source. I have configured with this line: ./configure --with-mysql=/usr --disable-debug --enable-sysvshm --enable-tran s-sid --with-config-file-path=/etc/php.ini --with-zlib --with-mnogosearch -- with-apxs=/usr/sbin/apxs
I got no errors during my configure, make or make install. However, as soon as I restarted my apache, I got an error: Starting httpd: Syntax error on line 74 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/libimap.so.4: undefined symbol: mm_dlog My php.ini file is copied over from php.ini-dist in the 4.06 source with the modifications I need. I have checked it over carefully - there is NO reference to libimap.so in this file, nor in my httpd.conf file for apache. This problem occurred repeatedly with various ./configure lines, including one attempt in which I explicitly disabled both imap and pear. I was finally able to track down this problem. My first attempt to install 4.0.6, I enabled imap, since I had had it running successfully under 4.03pl1. When that failed, I rm'd the config.cache file and issued a new configuration command. However, the make install script was continuing to install the imap.so into my extensions directory. Furthermore, despite my having not loaded it through my php.ini, the extension was attempting to load. I was finally able to install successfully by deleting all extensions from the extensions directory, deleting the 4.0.6 source directory, reloading it from the tar, and doing a new configure, make, make install cycle without imap. I don't know why this happened, but in the event of installation problems, I would advise the following: 1. Ensure your extensions directory is empty of any problematic extensions. 2. When doing a new configuration, start from a fresh source directory. Do not reconfigure within an old directory. Removing the config.cache file before you begin may not be sufficient. Bryan Orthner -- PHP Install 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]