[PHP] No SSL support in core functions with shared extensions
Hello! Some weeks ago, the FreeBSD PHP4 port has changed from building with static extensions to use seperate ports for each extension. I use SquirrelMail, which uses "fsockopen()" to connect with our IMAP server. For this connections TLS/SSL is needed, and all was working ok with static included extensions in PHP4. Now with PHP4 build to use shared extensions, I will get Warning: fsockopen(): no SSL support in this build in /usr/local/www/squirrelmail/functions/imap_general.php on line 445 If I build PHP with "--with-openssl=${OPENSSLBASE}" SSL is supported by "fsockopen()", but with "--with-openssl=shared,${OPENSSLBASE}" fsockopen() gives me the above error message. Regards -- /\/\ichael Ranner [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] -- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 -- Mariazell Online - http://www.mariazell.at/ -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] No SSL support in core functions with shared extensions
Am Dienstag, 31. August 2004 08:18 schrieb Curt Zirzow: > * Thus wrote Michael Ranner: > > Hello! > > > > Warning: fsockopen(): no SSL support in this build > > in /usr/local/www/squirrelmail/functions/imap_general.php on line 445 > > > > If I build PHP with "--with-openssl=${OPENSSLBASE}" SSL is supported by > > "fsockopen()", but with "--with-openssl=shared,${OPENSSLBASE}" > > fsockopen() gives me the above error message. > > Is php loading the openssl.so file, via extension=openssl.so? > Check the output of phpinfo() and look for openssl in the list of > modules that are loaded. Yes, openssl.so is loaded, openssl functions are there but no SSL support in fsockopen(). -- /\/\ichael Ranner [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] -- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 -- Mariazell Online - http://www.mariazell.at/ -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: No SSL support in core functions with shared extensions
Am Dienstag, 31. August 2004 06:32 schrieben Sie: > A) I have never done, nor seen, a FBSD port build with a > "tag=," construct before, but perhaps it does work? Yes it builds the shared extension, look at "configure --help" > B) Using PHP5 as a reference instead of PHP4, the ext/openssl/configure > reports: > > --with-openssl=DIR This builds the static openssl extension, as the old style port does it. But using openssl as shared extension, fsockopen() did not use SSL or TLS. So my question is, will anyone experience the same problem if using shared extensions e.g. for openssl. -- /\/\ichael Ranner [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] -- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 -- Mariazell Online - http://www.mariazell.at/ -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php