#40068 [NEW]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40068 [NEW]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    From: triphius at tripslair dot com
    Operating system: FreeBSD 6.1
    PHP version: 5.2.0
    PHP Bug Type: Scripting Engine problem
    Bug description: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    Description:
    ------------
    When loading any page on the web server, the user randomly gets presented
    with the following error:

    Warning: Unknown: failed to open stream: No such file or directory in
    Unknown on line 0

    Fatal error: Unknown: Failed opening required '/path/to/script/here.php'
    (include_path='.:') in Unknown on line 0

    This happens with every PHP script, and it appears to be totally random.
    The error message itself has no useful information to help determine the
    cause of the error.

    The server in question is running FreeBSD 6.1 and Apache 1.3.37 and PHP
    5.2.0.

    Reproduce code:
    ---------------
    As this problem occurs randomly on any script...it does not make sense to
    be a script issue.

    Expected result:
    ----------------
    The page to load normally, 100% of the time.

    Actual result:
    --------------
    Sometimes the page loads normally, sometimes you get the error message as
    stated above.

    --
    Edit bug report at [url]http://bugs.php.net/?id=40068&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40068&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40068&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40068&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40068&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40068&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40068&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40068&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40068&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40068&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40068&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40068&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40068&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40068&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40068&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40068&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40068&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40068&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40068&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40068&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40068&r=mysqlcfg[/url]
    triphius at tripslair dot com Guest

  2. Similar Questions and Discussions

    1. #25886 [Com]: failed to open stream: Too many open files in Unknown on line 0
      ID: 25886 Comment by: michel dot jansens at ulb dot ac dot be Reported By: padair at pntsi dot ca Status: Bogus...
    2. #25886 [Bgs]: failed to open stream: Too many open files in Unknown on line 0
      ID: 25886 User updated by: padair at pntsi dot ca Reported By: padair at pntsi dot ca Status: Bogus Bug Type: ...
    3. #25886 [Opn->Bgs]: failed to open stream: Too many open files in Unknown on line 0
      ID: 25886 Updated by: sniper@php.net Reported By: padair at pntsi dot ca -Status: Open +Status: ...
    4. #25886 [NEW]: failed to open stream: Too many open files in Unknown on line 0
      From: padair at pntsi dot ca Operating system: Solaris 8 PHP version: 4.3.3 PHP Bug Type: *General Issues Bug description: ...
    5. #22416 [Com]: failed to create stream: Too many open files in Unknown on line 0
      ID: 22416 Comment by: jmorris at sunflower dot com Reported By: jhalla at legion dot org Status: Bogus Bug...
  3. #2

    Default #40068 [Opn->Fbk]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    ID: 40068
    Updated by: [email]iliaa@php.net[/email]
    Reported By: triphius at tripslair dot com
    -Status: Open
    +Status: Feedback
    Bug Type: Scripting Engine problem
    Operating System: FreeBSD 6.1
    PHP Version: 5.2.0
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]

    Do you have any Zend or compiler cache extensions enabled?


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

    [2007-01-08 20:51:05] triphius at tripslair dot com

    Description:
    ------------
    When loading any page on the web server, the user randomly gets
    presented with the following error:

    Warning: Unknown: failed to open stream: No such file or directory in
    Unknown on line 0

    Fatal error: Unknown: Failed opening required
    '/path/to/script/here.php' (include_path='.:') in Unknown on line 0

    This happens with every PHP script, and it appears to be totally
    random. The error message itself has no useful information to help
    determine the cause of the error.

    The server in question is running FreeBSD 6.1 and Apache 1.3.37 and PHP
    5.2.0.

    Reproduce code:
    ---------------
    As this problem occurs randomly on any script...it does not make sense
    to be a script issue.

    Expected result:
    ----------------
    The page to load normally, 100% of the time.

    Actual result:
    --------------
    Sometimes the page loads normally, sometimes you get the error message
    as stated above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40068&edit=1[/url]
    iliaa@php.net Guest

  4. #3

    Default #40068 [Fbk->Opn]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    ID: 40068
    User updated by: triphius at tripslair dot com
    Reported By: triphius at tripslair dot com
    -Status: Feedback
    +Status: Open
    Bug Type: Scripting Engine problem
    Operating System: FreeBSD 6.1
    PHP Version: 5.2.0
    New Comment:

    I installed PHP using FreeBSD's ports system. The configure command
    generated by the ports installer is as follows:

    Configure Command => './configure' '--enable-versioning'
    '--enable-memory-limit' '--with-layout=GNU'
    '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
    '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
    '--enable-spl' '--program-prefix=' '--enable-fastcgi'
    '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php'
    '--with-zend-vm=CALL' '--enable-zend-multibyte' '--prefix=/usr/local'

    I also installed the php5-extensions port with the following modules
    selected:

    extension=ctype.so
    extension=curl.so
    extension=dom.so
    extension=exif.so
    extension=gd.so
    extension=gettext.so
    extension=iconv.so
    extension=mbstring.so
    extension=mcrypt.so
    extension=mhash.so
    extension=mysql.so
    extension=mysqli.so
    extension=openssl.so
    extension=pcre.so
    extension=pdf.so
    extension=zlib.so
    extension=pdo.so
    extension=posix.so
    extension=session.so
    extension=simplexml.so
    extension=snmp.so
    extension=sockets.so
    extension=tokenizer.so
    extension=xml.so
    extension=xmlreader.so
    extension=xmlwriter.so

    I am going to uninstall all of that and attempt to install from the CVS
    source as per your recommendation.


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

    [2007-01-08 20:53:53] [email]iliaa@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]

    Do you have any Zend or compiler cache extensions enabled?

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

    [2007-01-08 20:51:05] triphius at tripslair dot com

    Description:
    ------------
    When loading any page on the web server, the user randomly gets
    presented with the following error:

    Warning: Unknown: failed to open stream: No such file or directory in
    Unknown on line 0

    Fatal error: Unknown: Failed opening required
    '/path/to/script/here.php' (include_path='.:') in Unknown on line 0

    This happens with every PHP script, and it appears to be totally
    random. The error message itself has no useful information to help
    determine the cause of the error.

    The server in question is running FreeBSD 6.1 and Apache 1.3.37 and PHP
    5.2.0.

    Reproduce code:
    ---------------
    As this problem occurs randomly on any script...it does not make sense
    to be a script issue.

    Expected result:
    ----------------
    The page to load normally, 100% of the time.

    Actual result:
    --------------
    Sometimes the page loads normally, sometimes you get the error message
    as stated above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40068&edit=1[/url]
    triphius at tripslair dot com Guest

  5. #4

    Default #40068 [Opn->Fbk]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    ID: 40068
    Updated by: [email]iliaa@php.net[/email]
    Reported By: triphius at tripslair dot com
    -Status: Open
    +Status: Feedback
    Bug Type: Scripting Engine problem
    Operating System: FreeBSD 6.1
    PHP Version: 5.2.0
    New Comment:

    Please update the report once you have the results from the
    php-cvs run.


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

    [2007-01-09 04:16:27] triphius at tripslair dot com

    I installed PHP using FreeBSD's ports system. The configure command
    generated by the ports installer is as follows:

    Configure Command => './configure' '--enable-versioning'
    '--enable-memory-limit' '--with-layout=GNU'
    '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
    '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
    '--enable-spl' '--program-prefix=' '--enable-fastcgi'
    '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php'
    '--with-zend-vm=CALL' '--enable-zend-multibyte' '--prefix=/usr/local'

    I also installed the php5-extensions port with the following modules
    selected:

    extension=ctype.so
    extension=curl.so
    extension=dom.so
    extension=exif.so
    extension=gd.so
    extension=gettext.so
    extension=iconv.so
    extension=mbstring.so
    extension=mcrypt.so
    extension=mhash.so
    extension=mysql.so
    extension=mysqli.so
    extension=openssl.so
    extension=pcre.so
    extension=pdf.so
    extension=zlib.so
    extension=pdo.so
    extension=posix.so
    extension=session.so
    extension=simplexml.so
    extension=snmp.so
    extension=sockets.so
    extension=tokenizer.so
    extension=xml.so
    extension=xmlreader.so
    extension=xmlwriter.so

    I am going to uninstall all of that and attempt to install from the CVS
    source as per your recommendation.

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

    [2007-01-08 20:53:53] [email]iliaa@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]

    Do you have any Zend or compiler cache extensions enabled?

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

    [2007-01-08 20:51:05] triphius at tripslair dot com

    Description:
    ------------
    When loading any page on the web server, the user randomly gets
    presented with the following error:

    Warning: Unknown: failed to open stream: No such file or directory in
    Unknown on line 0

    Fatal error: Unknown: Failed opening required
    '/path/to/script/here.php' (include_path='.:') in Unknown on line 0

    This happens with every PHP script, and it appears to be totally
    random. The error message itself has no useful information to help
    determine the cause of the error.

    The server in question is running FreeBSD 6.1 and Apache 1.3.37 and PHP
    5.2.0.

    Reproduce code:
    ---------------
    As this problem occurs randomly on any script...it does not make sense
    to be a script issue.

    Expected result:
    ----------------
    The page to load normally, 100% of the time.

    Actual result:
    --------------
    Sometimes the page loads normally, sometimes you get the error message
    as stated above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40068&edit=1[/url]
    iliaa@php.net Guest

  6. #5

    Default #40068 [Fbk->Opn]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    ID: 40068
    User updated by: triphius at tripslair dot com
    Reported By: triphius at tripslair dot com
    -Status: Feedback
    +Status: Open
    Bug Type: Scripting Engine problem
    Operating System: FreeBSD 6.1
    PHP Version: 5.2.0
    New Comment:

    I installed PHP from the CVS source as suggested, using the same
    configure command as FreeBSD had previously generated. Then I used the
    php5-extensions port to reinstall all the additional modules (as
    previously listed).

    I have yet to see the random error (knock knock), and assume that this
    has fixed the issue. My guess is that there was a bug in the 5.2.0
    release code used by the FreeBSD ports system.

    I will update the bug report if I see any sign of the error. Thank you
    for your assistance so far.


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

    [2007-01-10 03:53:26] [email]iliaa@php.net[/email]

    Please update the report once you have the results from the
    php-cvs run.

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

    [2007-01-09 04:16:27] triphius at tripslair dot com

    I installed PHP using FreeBSD's ports system. The configure command
    generated by the ports installer is as follows:

    Configure Command => './configure' '--enable-versioning'
    '--enable-memory-limit' '--with-layout=GNU'
    '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
    '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
    '--enable-spl' '--program-prefix=' '--enable-fastcgi'
    '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php'
    '--with-zend-vm=CALL' '--enable-zend-multibyte' '--prefix=/usr/local'

    I also installed the php5-extensions port with the following modules
    selected:

    extension=ctype.so
    extension=curl.so
    extension=dom.so
    extension=exif.so
    extension=gd.so
    extension=gettext.so
    extension=iconv.so
    extension=mbstring.so
    extension=mcrypt.so
    extension=mhash.so
    extension=mysql.so
    extension=mysqli.so
    extension=openssl.so
    extension=pcre.so
    extension=pdf.so
    extension=zlib.so
    extension=pdo.so
    extension=posix.so
    extension=session.so
    extension=simplexml.so
    extension=snmp.so
    extension=sockets.so
    extension=tokenizer.so
    extension=xml.so
    extension=xmlreader.so
    extension=xmlwriter.so

    I am going to uninstall all of that and attempt to install from the CVS
    source as per your recommendation.

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

    [2007-01-08 20:53:53] [email]iliaa@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]

    Do you have any Zend or compiler cache extensions enabled?

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

    [2007-01-08 20:51:05] triphius at tripslair dot com

    Description:
    ------------
    When loading any page on the web server, the user randomly gets
    presented with the following error:

    Warning: Unknown: failed to open stream: No such file or directory in
    Unknown on line 0

    Fatal error: Unknown: Failed opening required
    '/path/to/script/here.php' (include_path='.:') in Unknown on line 0

    This happens with every PHP script, and it appears to be totally
    random. The error message itself has no useful information to help
    determine the cause of the error.

    The server in question is running FreeBSD 6.1 and Apache 1.3.37 and PHP
    5.2.0.

    Reproduce code:
    ---------------
    As this problem occurs randomly on any script...it does not make sense
    to be a script issue.

    Expected result:
    ----------------
    The page to load normally, 100% of the time.

    Actual result:
    --------------
    Sometimes the page loads normally, sometimes you get the error message
    as stated above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40068&edit=1[/url]
    triphius at tripslair dot com Guest

  7. #6

    Default #40068 [Opn->Csd]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..

    ID: 40068
    Updated by: [email]iliaa@php.net[/email]
    Reported By: triphius at tripslair dot com
    -Status: Open
    +Status: Closed
    Bug Type: Scripting Engine problem
    Operating System: FreeBSD 6.1
    PHP Version: 5.2.0
    New Comment:

    Closing the bug as the problem is no longer reproducible
    (presumed resolved).


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

    [2007-01-10 05:40:42] triphius at tripslair dot com

    I installed PHP from the CVS source as suggested, using the same
    configure command as FreeBSD had previously generated. Then I used the
    php5-extensions port to reinstall all the additional modules (as
    previously listed).

    I have yet to see the random error (knock knock), and assume that this
    has fixed the issue. My guess is that there was a bug in the 5.2.0
    release code used by the FreeBSD ports system.

    I will update the bug report if I see any sign of the error. Thank you
    for your assistance so far.

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

    [2007-01-10 03:53:26] [email]iliaa@php.net[/email]

    Please update the report once you have the results from the
    php-cvs run.

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

    [2007-01-09 04:16:27] triphius at tripslair dot com

    I installed PHP using FreeBSD's ports system. The configure command
    generated by the ports installer is as follows:

    Configure Command => './configure' '--enable-versioning'
    '--enable-memory-limit' '--with-layout=GNU'
    '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
    '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
    '--enable-spl' '--program-prefix=' '--enable-fastcgi'
    '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php'
    '--with-zend-vm=CALL' '--enable-zend-multibyte' '--prefix=/usr/local'

    I also installed the php5-extensions port with the following modules
    selected:

    extension=ctype.so
    extension=curl.so
    extension=dom.so
    extension=exif.so
    extension=gd.so
    extension=gettext.so
    extension=iconv.so
    extension=mbstring.so
    extension=mcrypt.so
    extension=mhash.so
    extension=mysql.so
    extension=mysqli.so
    extension=openssl.so
    extension=pcre.so
    extension=pdf.so
    extension=zlib.so
    extension=pdo.so
    extension=posix.so
    extension=session.so
    extension=simplexml.so
    extension=snmp.so
    extension=sockets.so
    extension=tokenizer.so
    extension=xml.so
    extension=xmlreader.so
    extension=xmlwriter.so

    I am going to uninstall all of that and attempt to install from the CVS
    source as per your recommendation.

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

    [2007-01-08 20:53:53] [email]iliaa@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]

    Do you have any Zend or compiler cache extensions enabled?

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

    [2007-01-08 20:51:05] triphius at tripslair dot com

    Description:
    ------------
    When loading any page on the web server, the user randomly gets
    presented with the following error:

    Warning: Unknown: failed to open stream: No such file or directory in
    Unknown on line 0

    Fatal error: Unknown: Failed opening required
    '/path/to/script/here.php' (include_path='.:') in Unknown on line 0

    This happens with every PHP script, and it appears to be totally
    random. The error message itself has no useful information to help
    determine the cause of the error.

    The server in question is running FreeBSD 6.1 and Apache 1.3.37 and PHP
    5.2.0.

    Reproduce code:
    ---------------
    As this problem occurs randomly on any script...it does not make sense
    to be a script issue.

    Expected result:
    ----------------
    The page to load normally, 100% of the time.

    Actual result:
    --------------
    Sometimes the page loads normally, sometimes you get the error message
    as stated above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40068&edit=1[/url]
    iliaa@php.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139