Apache server imap.so ssl_once_only_init error

Michael Powell nightrecon at hotmail.com
Wed Oct 7 16:40:33 UTC 2009

Robert Huff wrote:

> David Southwell writes:
>>  /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so:
>>  Undefined symbol "ssl_onceonlyinit"
> I look at this and ask (knowing very little about either) "is
> this a problem with Apache, or a problem with PHP?".

Easy enough to see - comment out the imap.so module in 
/usr/local/etc/php/extensions.ini and see if Apache will start. If it does 
the problem is the imap module. A more generic way to drive this wedge is to 
temporarily comment out the LoadModule php5_module line from httpd.conf.

If it starts without this module it isn't Apache. Some PHP modules have 
dependencies in that they need the other modules loaded before they load. 
Try moving the imap.so line in extensions.ini to the bottom of the file so 
all the other crypt modules such as openssl, hash, mcrypt, etc are loaded 


More information about the freebsd-questions mailing list