ID:               49684
 Updated by:       sjo...@php.net
 Reported By:      alexbatko at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Mac OS X 10.6.1
 PHP Version:      5.3.0
 New Comment:

Thank you for your bug report.

A syscall trace using strace, dtrace or dtruss can help to determine
which file PHP tries to open and what the system calls return.

Please try to reproduce the problem on the command line, like
php -f testscript.php
If that gives the problem, you can try
dtruss php -f testscript.php
Please upload the resulting log somewhere and insert a link here.


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

[2009-09-27 21:53:22] alexbatko at gmail dot com

I did the comparison myself, on another machine, and libphp5.so had the
same size and md5.

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

[2009-09-26 22:20:16] alexbatko at gmail dot com

Can someone on Mac OS X 10.6.1, running the built-in PHP 5.3.0 (cli)
(built: Jul 19 2009 00:34:29), please run these commands for the sake of
comparison?

ls -l /usr/libexec/apache2/libphp5.so
-rwxr-xr-x  1 root  wheel  29081072 Jul 19 00:35
/usr/libexec/apache2/libphp5.so

md5 /usr/libexec/apache2/libphp5.so
MD5 (/usr/libexec/apache2/libphp5.so) =
7117168f74cca3f5669c26a136321712

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

[2009-09-26 21:55:07] alexbatko at gmail dot com

Description:
------------
Everything was working fine, then, out of the blue, after a page
reload, I have been continuously presented with the following errors:

[Sat Sep 26 14:12:12 2009] [error] [client 127.0.0.1] PHP Warning: 
Unknown: failed to open stream: No such file or directory in Unknown on
line 0

[Sat Sep 26 14:12:12 2009] [error] [client 127.0.0.1] PHP Fatal error: 
Unknown: Failed opening required '/path/to/script/here.php'
(include_path='.:/usr/lib/php') in Unknown on line 0

PHP 5.3.0 (cli) (built: Jul 19 2009 00:34:29) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

HTTP Server version: Apache/2.2.11 (Unix)
HTTP Server built:   May 18 2009 12:37:03

This bug seems to be the same as one submitted in 2007:

http://bugs.php.net/bug.php?id=40068

But that bug was closed - so I could not add to it - hence why I'm
opening a new one.

Reproduce code:
---------------
This problem occurred out of the blue. It is completely unrelated to my
code.

Expected result:
----------------
The page/code should load normally, 100% of the time.

Actual result:
--------------
As of the first time the error appeared (again, I emphasize: out of the
blue), I am only ever presented with the above mentioned errors... and
no PHP script is ever executed.


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


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

Reply via email to