ID: 38982 User updated by: admin at denic-294 dot de Reported By: admin at denic-294 dot de -Status: Feedback +Status: Open Bug Type: OpenSSL related Operating System: Debian different releases PHP Version: 4.4.4 New Comment:
The php-source: --------------- 1: #!/root/php-4.4.4/sapi/cli/php 2: <?php [...] 67: $fp=fsockopen("ssl://".$host,$port,$errno,$errstr); [...] The result: ----------- Warning: fsockopen(): no SSL support in this build in /home/.../script.php on line 67 Warning: fsockopen(): unable to connect to xxxx.xxxx:12345 in /home/.../script.php on line 67 The configure-command: ---------------------- ./configure --disable-cgi --with-mysql --with-openssl (It worked with the same command after the patch) I tried compiling with debian woody and debian sarge on different servers which did not affect the result in any way. Is there any more information that would help you ? Previous Comments: ------------------------------------------------------------------------ [2006-09-28 14:31:42] [EMAIL PROTECTED] ssl://, ftps:// and https:// work here in CLI with just --with-openssl and without any patches. I asked you for additional information, I didn't ask you to repeat the same as in your first message. ------------------------------------------------------------------------ [2006-09-28 14:20:38] admin at denic-294 dot de 1. I did NOT use any binary build. i downloaded the source.tar.gz from php.net and compiled it myself (why else would i speak about configure options or adding an include-line to the sourcecode???) ! 2. It works perfectly fine with the apache module. I do not know if it works with the CGI-version. But it definatly does NOT work on the CLI-version ! So do NOT set my report to bogus. If you dont want any help just tell me and ill never report anything ever again. ------------------------------------------------------------------------ [2006-09-28 14:08:42] [EMAIL PROTECTED] Works perfectly fine. And we don't support any unofficial binary builds, so please report it to maintainers of your .deb package. ------------------------------------------------------------------------ [2006-09-28 13:57:56] admin at denic-294 dot de Ok following the how-to-report: What i did: $fd=fsockopen("ssl://...",xxx); What i wanted to happen: get a $fd with an active SSL connection to the given host. What actually happened: i got the error-message "no SSL support in this build". I searched the bug-database and found the but i related to. The tip with the include of "php_config.h" in "php.h" worked to get it running. In the end i just wanted to let you know of the bug that (for the cli-version) is still there in the latest php4-release. So you can close this if open means that i still need help. greetz Chris ------------------------------------------------------------------------ [2006-09-28 13:28:10] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ 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/38982 -- Edit this bug report at http://bugs.php.net/?id=38982&edit=1