Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

#20274 [Com]: failed to create stream: Too many open files in Unknown on line

0 views
Skip to first unread message

daviddottiselius at sydsvenskannospam dot se

unread,
May 9, 2003, 10:14:39 AM5/9/03
to
ID: 20274
Comment by: daviddottiselius at sydsvenskannospam dot se
Reported By: fowler at csufresno dot edu
Status: Feedback
Bug Type: iPlanet related
Operating System: Solaris (all)
PHP Version: 4CVS-2002-11-06
Assigned To: sas
New Comment:

Patch didn't work, got a new one at http://schumann.cx/patch-fd-lexer4
(thank's sas!) patched ok, compiled fine after installing flex, bison
and m4 from sunfreeware but php_init fails at server startup (no error
messages...) . I'll try with the latest cvs snapshot also and get back,
hopefully with good news :)
PHP-source: 4.3.1
OS: SunOS 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-5_10


Previous Comments:
------------------------------------------------------------------------

[2003-05-09 07:24:37] sni...@php.net

Did the patch help or not?


------------------------------------------------------------------------

[2003-05-02 09:56:19] s...@php.net

There is a patch available for the current PHP 4.3 CVS:

http://www.php.net/~sas/patch-lexer-no-stdio

This patch makes PHP use POSIX IO which alleviates the Solaris stdio
issue.

Please let me know whether it works for you.

------------------------------------------------------------------------

[2003-04-25 09:27:25] j...@php.net

For those having problems getting SFIO working on Solaris,
this worked for me (Solaris 8 SPARC)...

LIBS="-L/path/to/sfio/lib -lstdio-mt -lsfio-mt"
./configure....

SFIO is binary compatible with stdio, so you don't need to
include any SFIO headers. Also, be sure to compile SFIO as
a multithreaded library.

J

------------------------------------------------------------------------

[2003-04-25 05:40:44] w...@php.net

For PHP 4.3.x, you must link using the SFIO stdio replacement from
AT&T.

PHP 5 does not have this dependency itself, although some third party
libraries that use stdio may get bitten by the limit of 256 files; in
which case you should also link against the SFIO library.

------------------------------------------------------------------------

[2003-04-10 14:02:19] thet...@php.net

You are right. At this time the only way to fix this is by using the
CGI-mode with the NSAPI plugin from my website.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20274

--
Edit this bug report at http://bugs.php.net/?id=20274&edit=1

0 new messages