Re: [PHP-DEV] Stream: Cast and Seek

2009-12-05 Thread Arnaud Le Blanc
Le samedi 05 décembre 2009 à 18:00 +0100, Samuel ROZE a écrit : > Thanks for you reply ! :-) > I think that my cast isn't very good because I've: > > Warning: stream_select(): You MUST recompile PHP with a larger value of > FD_SETSIZE. > It is set to 1024, but you have descriptors numbered at lea

Re: [PHP-DEV] Stream: Cast and Seek

2009-12-05 Thread Samuel ROZE
Thanks for you reply ! :-) I think that my cast isn't very good because I've: Warning: stream_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1728763902. --enable-fd-setsize=1728763904 is recommended, b

Re: [PHP-DEV] Stream: Cast and Seek

2009-12-05 Thread Arnaud Le Blanc
Hi, Le samedi 05 décembre 2009 à 00:01 +0100, Samuel ROZE a écrit : > Hello, > > I'm working on the use of a PHP SSH2 Stream returned by ssh2_shell > function with stream_select() function. Within the PHP code, before > being used into the select() C function, a stream have to be "casted"... > Th

[PHP-DEV] Stream: Cast and Seek

2009-12-04 Thread Samuel ROZE
Hello, I'm working on the use of a PHP SSH2 Stream returned by ssh2_shell function with stream_select() function. Within the PHP code, before being used into the select() C function, a stream have to be "casted"... The problem is that I don't really know what is it and how it generally works. So,