|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27407 socket_select crashes
Submitted: 2004-02-26 14:26 UTC Modified: 2004-03-18 09:18 UTC
From: flapc at pobox dot sk Assigned:
Status: Not a bug Package: Sockets related
PHP Version: 4.3.4 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: flapc at pobox dot sk
New email:
PHP Version: OS:


 [2004-02-26 14:26 UTC] flapc at pobox dot sk
socket_select crashes. Even I get no input from the script sent before the call.

I cannot check it deeply because I experienced the problem on my webhosting server.

On Win distribution everthing runs fine...

Reproduce code:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-04 09:03 UTC] flapc at pobox dot sk
There is no problem on Windows.
The problem is on LINUX..
 [2004-03-04 09:06 UTC]
Right, and that's why the first URL he posted was to a linux source snapshot, please test with that one.
 [2004-03-04 11:10 UTC] flapc at pobox dot sk
That i've found out .. 
But I've no idea of compiling from sources.
After unpacking it i runned

'./configure' '--enable-inline-optimization' '--enable-pic' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-ftp' '--enable-bcmath' '--enable-exif' '--enable-ctype' '--with-imap-ssl=/usr' '--with-openssl=/usr'  '--enable-sockets' '--enable-trans-sid' '--enable-sigchild'  '--enable-magic-quotes'  '--enable-zend-multibyte'  '--with-bz2'  '--enable-shared' '--enable-memory-limit' '--disable-posix' '--disable-tokenizer'  '--disable-rpath'  '--enable-mbstring' '--enable-mbregex' '--enable-wddx' 

and then 


but i'm not allowed to run 
make install

I got cli version of php, but THERE WAS no SOCKETS(.SO) ..
how to build the sockets?
 [2004-03-06 14:13 UTC]
Sockets extension was compiled directly into your PHP, 
there is no need to load 
 [2004-03-11 09:54 UTC]
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.

 [2004-03-18 09:14 UTC] flapc at pobox dot sk
I've tested it on Mandrake 9.2 + Apache 1.3 ... newest 
PHPsnap and it worked. i is somehow bound with firewall, 
because i haven't used none port restrictions, but on my 
webhosting provider's server it DOES NOT work... WHY???
 [2004-03-18 09:18 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 21 21:03:37 2022 UTC