ID: 26016 Comment by: scott at marinar dot com Reported By: hill at bluecarrots dot com Status: No Feedback Bug Type: *General Issues Operating System: Linux PHP Version: 4.3.3 New Comment:
The same is seen here with php 4.3.6 freshly compiled on Debian / Linux. Configure command is "./configure --enable-bcmath --with-openssl=/usr/local/openssl --with-mysql --with-apxs=/usr/bin/apxs --prefix=/usr/local" This bug persists through reloads of apache; apache version is 1.3.26. With so many people obviously affected by this PHP bug across multiple platforms, I'm concerned that the answer from PHP seems to be "it's not a PHP problem" promptly followed by marking threads as bogus. --Scott! Previous Comments: ------------------------------------------------------------------------ [2004-03-19 03:39:53] andrew at shh dot fi The error is real except this guy has the wrong script. I have the same problem - this is the script: $method = "ssl://"; $host = "myserver.com"; $port = 443; $fp = fsockopen($method.$host, $port, $errno, $errstr, $timeout = 30); I get the error: Warning: fsockopen(): no SSL support in this build AND SSL is loaded in php. Its a bug I patch on windows, but need one for linux ------------------------------------------------------------------------ [2003-11-03 14:06:38] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-10-28 04:44:03] [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. please provide a sample script to illustrate the problem ------------------------------------------------------------------------ [2003-10-28 04:40:30] hill at bluecarrots dot com Description: ------------ I get the warning at the top of the page. Several refreshes of the browser rectifies. Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/.sites/.blah....php on line 14 Warning: fsockopen(): unable to connect to blah.com:80 in /home/.sites/blah.....php on line 14 Resource temporarily unavailable (11) Reproduce code: --------------- Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/.sites/.blah....php on line 14 Warning: fsockopen(): unable to connect to blah.com:80 in /home/.sites/blah.....php on line 14 Resource temporarily unavailable (11) Expected result: ---------------- I expect the page to connect securely to a secure server and send some secure details. I get the warning at the top of the page. Several refreshes of the browser rectifies. I have to use this PHP code, which has been provided by the Payment provider, to get to a server that takes online payments, some information is first sent securely in order to reach the payment page on the Payment providers server. Actual result: -------------- The simle page takes time to load and when it does the fsockopen warning is present. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26016&edit=1