#34611 [Bgs]: fsockopen claims to have no SSL-support

From: Date: Mon, 26 Sep 2005 08:38:31 +0000
Subject: #34611 [Bgs]: fsockopen claims to have no SSL-support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85585@lists.php.net to get a copy of this message
ID: 34611 User updated by: werner at usit dot uio dot no Reported By: werner at usit dot uio dot no Status: Bogus Bug Type: OpenSSL related Operating System: Solaris PHP Version: 4.4.0 New Comment: It seems to me that PHP finds OpenSSL just fine. I can't find anything strange in config.log, the libphp4.so links just fine to the OpenSSL-library I wanted: libssl.so.0.9.6 => /site/lib/libssl.so.0.9.6 libcrypto.so.0.9.6 => /site/lib/libcrypto.so.0.9.6 and as I said earlier other OpenSSL-functions work just fine in PHP. Do you say there is a design-flaw in PHP that makes the dynamical linking of OpenSSL a non-option? I have built PHP on Linux the exactly same way as on Solaris, and on Linux it works. ?? Previous Comments: ------------------------------------------------------------------------ [2005-09-23 14:22:37] wez@php.net You need to build the openssl extension statically into PHP for this to work. It sounds to me like it didn't find it on your system; check the config.log to make sure. ------------------------------------------------------------------------ [2005-09-23 14:06:32] werner at usit dot uio dot no There is no firewall in between. If I use the php-binary, I get this errors/output: Warning: fsockopen(): no SSL support in this build in /usit/saruman/gap-u1/werner/www_docs/test.php on line 4 Warning: fsockopen(): unable to connect to webmail.uio.no:443 in /usit/saruman/gap-u1/werner/www_docs/test.php on line 4 Error 0 (0)<br/> Kopla til webmail.uio.no.<br> ------------------------------------------------------------------------ [2005-09-23 14:01:50] sniper@php.net Check the firewall in between, works fine for me. ------------------------------------------------------------------------ [2005-09-23 13:29:48] werner at usit dot uio dot no CFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' \ CPPFLAGS='-I/site/www/httpd/share/libjpeg/include -I/site/www/httpd/share/zlib/include' \ LDFLAGS='-L/site/www/httpd/share/libjpeg/lib -R/site/www/httpd/share/libjpeg/lib -L/site/www/httpd/share/libpng/lib -R/site/www/httpd/share/libpng/lib -L/site/www/httpd/share/zlib/lib -R/site/www/httpd/share/zlib/lib' \ CC='cc' CCC='CC' ./configure \ --with-apxs=/site/www/httpd/b_022/sbin/apxs \ --prefix=/site/www/httpd/b_022 \ --enable-calendar \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-mbstring=all \ --enable-mbstr-enc-trans \ --enable-mbregex \ --enable-memory-limit \ --enable-safe-mode \ --enable-sigchild \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-trans-sid \ --with-config-file-path=/site/www/httpd/conf \ --with-exec-dir=/site/www/httpd/b_022/php-bin \ --with-gettext=/local \ --with-iconv=/local \ --with-jpeg-dir=/site/www/httpd/share/libjpeg \ --with-png-dir=/site/www/httpd/share/libpng \ --with-ldap=/site/ldap \ --with-mysql=/site/mysql/current \ --with-pgsql=/site/postgresql/7.3.1 \ --with-oci8=/local/opt/oraclient/product/8.1.7 \ --with-gd \ --with-openssl=/site \ --with-zlib=/site/www/httpd/share/zlib \ --with-zlib-dir=/site/www/httpd/share/zlib \ --disable-debug \ --disable-short-tags \ --disable-yp ------------------------------------------------------------------------ [2005-09-23 13:13:54] derick@php.net What is your configure line? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34611 -- Edit this bug report at http://bugs.php.net/?id=34611&edit=1

« previous php.bugs (#85585) next »