#19287 [Opn->Ver]: updating from 4.2.2 to 4.2.3 file_exists fails
| From: | edink@php.net | Date: | Sat, 07 Sep 2002 21:51:44 +0000 |
| Subject: | #19287 [Opn->Ver]: updating from 4.2.2 to 4.2.3 file_exists fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18643@lists.php.net to get a copy of this message | ||
ID: 19287
Updated by: edink@php.net
Reported By: soletan@toxa.de
-Status: Open
+Status: Verified
-Bug Type: Filesystem function related
+Bug Type: Apache2 related
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
I can reproduce the problem, but only using Apache2 SAPI. It seems that
file_exists() does not work with relative paths. Using absolute path
seems to be working fine.
Previous Comments:
------------------------------------------------------------------------
[2002-09-07 16:18:06] soletan@toxa.de
Hi,
PHP runs with Apache 2.0.40 as DSO and there are a few modules selected
to be built into PHP-module. Everything was fine before updating PHP
and I used the same configure-arguments to compile 4.2.3 as before
4.2.2 ...
Well, here comes the problem itself: I've updated from 4.2.2 to 4.2.3
right before and without further changes file_exists returns false in
cases, where it returned true before. Files are existing and logfiles
aren't showing anything. I originally used @ to suppress error messages
and removed it temporarily to get some error message. display_errors is
turned on, too.
But there's no message, while the tested files are world-readable. Now
I change the source to get it back working ... how uncomfortable ... :(
Thanx for your fixing,
Thomas Urban
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19287&edit=1