|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-09 03:41 UTC] derick@php.net
[2002-10-09 03:47 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 11:00:01 2025 UTC |
I have been using Apache (version 1) for a long time, and now I tried out Apache2, which runs parallel on port 8080. A lot of my PHP scripts use templates and therefore the file_exists function is often used like if (!file_exists($filename)) die('Failed.'); Some of the scripts use relative paths and now PHP reacts differently. On apache1 file_exists('index_content.tpl') returns true. On apache2 file_exists('index_content.tpl') returns false. The file surely exists. But why do I get false? I thought that the file_exists function should have nothing to do with apache, shouldn't it?