php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8193 Compiling in imap support causes apache to fail on startup when loading php dso
Submitted: 2000-12-11 12:28 UTC Modified: 2000-12-11 12:40 UTC
From: joela at joelhq dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.3pl1 OS: Redhat 6.2
Private report: No CVE-ID: None
 [2000-12-11 12:28 UTC] joela at joelhq dot com
Platform Info:
Redhat Linux 6.2.
Apache 1.3.14 from RH RPM.
PHP 4.0.3pl1 compiled from source.
MySQL 3.23.28-gamma compiled from source.
Imap-2000 from RH RPM, including devel.

PHP Configure Options:

"./configure --with-apxs --with-mysql --with-xml --with-zlib --with-gd --with-gettext --with-mcal --with-kerberos --with-openssl=/usr/bin/openssl --enable-wddx --with-java --enable-sysvshm --enable-sysvsem --enable-debugger --enable-calendar --with-imap"

Problem:

When compiling php4 with the --with-imap option, compilation completes successfully, but apache refuses to restart, throwing the following error:

"Starting httpd: Syntax error on line 875 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback"

Removing the --with-imap option allows the server to start correctly, with all other functionality apparently operational.

I have spent the past week fiddling with the configure options (feeding the --with-imap-path=/<dir>, etc.) to no avail.

Please Help!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-11 12:40 UTC] sniper@php.net
Use --with-imap-ssl 
(try running ./configure --help)


--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC