On Fri, 2004-11-19 at 20:17, Flatfender wrote: > On Fri, 19 Nov 2004 18:55:33 +0100, Vincent Blondel > <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Sorry for my question but I am a completely new user with SquirrelMail. > > Today I have to setup a webmail infrastructure for our website. > > > > I already have an Imap server with Courier-Imap that runs perfectly with > > non encrypted port 143 and OpenSSL 993 encrypted port (client > > evolution). We also have an smtp server and I am now trying to configure > > SquirrelMail but it seems I have some troubles with it. > > > > Please find below my config : > > > > $imapPort = 993; > > $imap_server_type = 'courier'; > > $imap_auth_mech = 'login'; > > $use_imap_tls = true; > > > > and this is the error message I receive when I try to log on > > SquirrelMail. > > > > Warning: fsockopen(): no SSL support in this build in > > /home/httpd/.../functions/imap_general.php on line 445 > > Warning: fsockopen(): unable to connect to sbegfxab:993 in > > /home/httpd/.../functions/imap_general.php on line 445 > > > > I am searching the net about this problem but I didn't find anything. It > > seems this feature is well supported by my version (1.4.3a) but it > > doesn't run at the moment. > > > > Can you help me ??? > > > > Regards > > Vincent > > What OS are you using? Certain Os's such as FreeBSD have changed the > way that PHP is built so that the SSL libraries are dynamically linked > instead of statically linked. Rebuilding PHP with SSL statically > linked fixed this problem for me. > > Matt Pusateri
FreeBSD 4.10 / PHP 4.3.9 / Apache 1.3.33 / SquirrelMail 1.4.3a Ok, you are all right. Looking up on bsd google, I finally found a mail that explain what you are saying ( http://lists.freebsd.org/pipermail/freebsd-ports/2004-July/014686.html). Just a remark, when you look at the link phpInfo, you will see this person has compiled php with OpenSSL linked statically and dynamically and it runs ... So I recompiled php with these recommendations and now when I try to start http, I get a segmentation fault and I find this in my log file ... PHP Warning: Function registration failed - duplicate name - openssl_pkey_free in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkey_new in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkey_export in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkey_export_to_file in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkey_get_private in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkey_get_public in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_free_key in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_get_privatekey in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_get_publickey in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_read in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_free in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_parse in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_checkpurpose in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_check_private_key in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_export in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_x509_export_to_file in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_csr_new in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_csr_export in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_csr_export_to_file in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_csr_sign in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_sign in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_verify in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_seal in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_open in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkcs7_verify in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkcs7_decrypt in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkcs7_sign in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_pkcs7_encrypt in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_private_encrypt in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_private_decrypt in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_public_encrypt in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_public_decrypt in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - openssl_error_string in Unknown on line 0 PHP Warning: openssl: Unable to register functions, unable to load in Unknown on line 0 So I tried to remove the line containing the load of openssl dynamic module in /usr/local/etc/php/extensions.ini and I don' get any errors in httpd-error.log but I always get a segmentation fault when I start httpd. Any idea ??? Vincent ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
