[bugs] [Bug 1105] New - Problem with PHP 4.2.3 file_exists and Apache2

bugs@bugs.horde.org bugs@bugs.horde.org
Sun Nov 17 22:00:26 2002


http://bugs.horde.org/show_bug.cgi?id=1105

*** shadow/1105	Sun Nov 17 18:00:26 2002
--- shadow/1105.tmp.22167	Sun Nov 17 18:00:26 2002
***************
*** 0 ****
--- 1,33 ----
+ Bug#: 1105
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: dom@http.org               
+ URL: 
+ Summary: Problem with PHP 4.2.3 file_exists and Apache2
+ 
+ It would appear that there is some incompatibility with PHP 4.2.3 and Apache2.
+ 
+ In both index.php and css.php, whenever file_exists is used with a relative 
+ path, it returns false even though the file does exist.
+ 
+ In both files I have made the following changes:
+ 
+ @file_exists('./config/html.php')
+ 
+ to
+ 
+ @file_exists(HORDE_BASE . '/config/html.php')
+ 
+ Might be worth going through the current code and replacing all relative paths 
+ in this way.
+ 
+ Cheers!


More information about the bugs mailing list