Re: Getting file pointer from file descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 04/15/2010 06:52 AM, Naga Kiran K wrote:
> Hi,
> 
> We are upgrading PHP from 5.2.3 to 5.3.2 and are facing few issues [like
> unsupported functions...]
> 
> In PHP 5.2.3, "fdopen" was used to read/write to a file descriptor
> that's opened by another application.
> 
> fdopen(<fileDescriptorId>,"rw");  //It worked fine with PHP 5.2.3
> 
> After PHP upgrade,its throwing "undefined reference to 'fdopen' function".
> 
> Please suggest whats the replacement for this in PHP 5.2.3 or any
> workaround.

PHP has never had an fdopen() function.  It must be something in user
space that provided that for you if you had it.

-Rasmus

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux