#27407 [Opn->Fbk]: socket_select crashes
| From: | iliaa@php.net | Date: | Sat, 06 Mar 2004 19:13:11 +0000 |
| Subject: | #27407 [Opn->Fbk]: socket_select crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56007@lists.php.net to get a copy of this message | ||
ID: 27407
Updated by: iliaa@php.net
Reported By: flapc at pobox dot sk
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: Linux
PHP Version: 4.3.4
New Comment:
Sockets extension was compiled directly into your PHP,
there is no need to load sockets.so.
Previous Comments:
------------------------------------------------------------------------
[2004-03-04 11:10:39] 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
make
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-04 09:06:25] derick@php.net
Right, and that's why the first URL he posted was to a linux source
snapshot, please test with that one.
------------------------------------------------------------------------
[2004-03-04 09:03:42] flapc at pobox dot sk
There is no problem on Windows.
The problem is on LINUX..
------------------------------------------------------------------------
[2004-02-26 15:21:20] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-02-26 14:26:21] flapc at pobox dot sk
Description:
------------
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:
---------------
http://dave.dapond.com/socketselect.php.txt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27407&edit=1