php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19543 file_exists() always returns false
Submitted: 2002-09-21 16:30 UTC Modified: 2002-09-22 12:33 UTC
From: fil at rezo dot net Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.2.3 OS: Mac OS X 10.2
Private report: No CVE-ID: None
 [2002-09-21 16:30 UTC] fil at rezo dot net
The following script, named 'test.php', fails :
<?php if (file_exists('test.php')) echo "OK"; ?>

In fact file_exists(...) always returns false.

(This happens with apache 2.0.40)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-21 17:22 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2002-09-22 03:00 UTC] sander@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2002-09-22 03:01 UTC] sander@php.net
Sorry :)
 [2002-09-22 12:33 UTC] kalowsky@php.net
More importantly OSX isn't really supported yet.  You'll have to use a snapshot to get any OSX issues solved for PHP.  
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 28 09:01:28 2024 UTC