4.2.3, apache 2.0.40 file access problem
| From: | Vadim Akselrod | Date: | Tue, 10 Sep 2002 03:48:20 +0000 |
| Subject: | 4.2.3, apache 2.0.40 file access problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8385@lists.php.net to get a copy of this message | ||
I upgraded to 4.2.3, but am having file access problems.
If I access a file by full path, it works fine.
If I access a file in the local dir, it fails. Even though getcwd() is
the same as the full path above.
Any ideas? This is on redhat 7.2. Thanks!
Cheers,
-Vadim
PS: Here's the code that fails:
$file = "test";
if(!is_writable(getcwd() . "/" . $file))... // works
if(!is_writable($file))... // fails