#19287 [Com]: updating from 4.2.2 to 4.2.3 file_exists fails
| From: | simon at oxads dot com | Date: | Sat, 23 Nov 2002 18:53:13 +0000 |
| Subject: | #19287 [Com]: 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-25646@lists.php.net to get a copy of this message | ||
ID: 19287
Comment by: simon@oxads.com
Reported By: soletan@toxa.de
Status: Closed
Bug Type: Apache2 related
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
I am currently having this problem with relative paths and
file_exists (among file functions) using apache 2.0.43 and
php 4.3.0RC1 as DSO.
Previous Comments:
------------------------------------------------------------------------
[2002-09-11 03:48:16] edink@php.net
This bug has been fixed in the STABLE branch. You can get the fixed
version at http://snaps.php.net/php4-STABLE-latest.tar.gz
which is
basically 4.2.3 + a couple of fixes.
------------------------------------------------------------------------
[2002-09-09 05:24:39] sniper@php.net
If it works -> closed.
------------------------------------------------------------------------
[2002-09-09 02:00:30] soletan@toxa.de
Okay,
I feel a bit under-informed about snaps.php.net ... after realising by
using phpinfo, that STABLE-foo is still 4.2.3 I took same snapshot
without "STABLE" ...
Downloading php4-200209082100.tgz, do the same before
(configure.nice,all,install,restart apache).
Additionally I turned back another snippet of code where I used
file_exists before including. After doing that it didn't run under
4.2.3 again. The code initially turned back still did a good job and I
don't know why - it's assumed to be passed before the second snippet of
code gets parsed and executed.
Well, after restarting apache I first assumed to have 4.3.0-dev
running, then calling the script with both places turned back to use
file_exists and everything was fine there.
For some further assertion I installed 4.2.3 again, checked this
installation with phpinfo and reloaded the site and it didn't work ...
I cycled another time to proove my tests finally and that's my closing
line: it works under 4.3.0-dev.
------------------------------------------------------------------------
[2002-09-09 01:24:29] soletan@toxa.de
So, I installed snapshot php4-STABLE-200209082100.tgz with my old
configure.nice, made "all install" and restarted apache. Then I turned
back what I've changed to workaround that "bug" and reloaded the page.
He did it "fortunately".
Then I changed to php-4.2.3-installation dir and made install and
restarted Apache again. It kept on doing it. Damn, I really called the
script several times before, restarted apache and the whole and he
didn't.
I can't explain and guess you don't, too.
------------------------------------------------------------------------
[2002-09-08 14:09:41] fillmore@NRCan.gc.ca
Tests show this is also the cause of a 4.2.3 include file bug-
my bug #19291.
I'm using an iPlanet 4.x NSAPI configuration.
Any chance there will be a fix before 4.3.0? (ie. 4.2.4?)
Thanks, Bob Fillmore
------------------------------------------------------------------------
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/19287
--
Edit this bug report at http://bugs.php.net/?id=19287&edit=1