#3253 [Ana->]: Can not open any sockets

From: Date: Tue, 01 Oct 2002 20:12:15 +0000
Subject: #3253 [Ana->]: Can not open any sockets
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21124@lists.php.net to get a copy of this message
ID: 3253 Updated by: hholzgra@php.net Reported By: argus@sover.net -Status: Analyzed +Status: Won\'t fix Bug Type: Other Operating System: BSDI 4.1 PHP Version: 3.0.14 New Comment: We are sorry, but can not support PHP 3 related problems anymore. Momentum is gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will will continue to be supported for the forseeable future. Previous Comments: ------------------------------------------------------------------------ [2000-02-06 06:28:35] sas@cvs.php.net Hint: Use truss to find out why it fails. ------------------------------------------------------------------------ [2000-01-19 13:09:55] argus@sover.net If I run any program that wants to use a socket (imap or fsockopen) they fail. I tried this program: $fp = fsockopen("www.php.net", 80, &$errno, &$errstr, 30); if(!$fp) { echo "$errstr ($errno)<br>\n"; } else { fputs($fp,"GET / HTTP/1.0\n\n"); while(!feof($fp)) { echo fgets($fp,128); } fclose($fp); } and got the following output: (0) I have tried open a socket connection with fsock on an odd port, I have also tried opening an imap_open with the same results. I am not running php in safe mode, I am running it as an apache module and I do have it working on a BSDi 4.0.1 with php-3.0.12 -John Barrett argus@sover.net ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3253&edit=1

« previous php.bugs (#21124) next »