Ask a Question related to PHP Bugs, Design and Development.
-
triphius at tripslair dot com #1
#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
-
#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... -
#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: ... -
#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: ... -
#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: ... -
#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... -
iliaa@php.net #2
#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
-
triphius at tripslair dot com #3
#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
-
iliaa@php.net #4
#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
-
triphius at tripslair dot com #5
#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
-
iliaa@php.net #6
#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



Reply With Quote

