Re: [PHP-INSTALL] Getting file pointer from file descriptor

[email protected] (Rasmus Lerdorf)
Newsgroups php.install
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.