#22178 [Fbk->Opn]: file_exists() outputs warnings if file does not exist

From: Date: Tue, 11 Feb 2003 22:12:12 +0000
Subject: #22178 [Fbk->Opn]: file_exists() outputs warnings if file does not exist
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32829@lists.php.net to get a copy of this message
ID: 22178 User updated by: marchart@marchart.at Reported By: marchart@marchart.at -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: solaris8 PHP Version: 4.3.0 New Comment: Yes! safe_mode = On safe_mode_exec_dir = /usr/local/php/bin open_basedir = /www Filesystemlayout, usernames/uids/gids and php.ini are ident to my linux box, where this is running fine Previous Comments: ------------------------------------------------------------------------ [2003-02-11 16:06:20] iliaa@php.net Is your solaris server using the safe_mode and/or open_basedir ini directives? ------------------------------------------------------------------------ [2003-02-11 16:01:51] marchart@marchart.at The function "file_exists()" causes following PHP warning on solaris8, if the file does not exist. If the file exists the function works correctly. Warning: file_exists() [function.file-exists]: Unable to access ... On linux with the same setup (php 4.3.0 and apache 1.3.27) it works fine! (The sun is a mirror from the linux box) Best Regards Johannes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22178&edit=1

« previous php.bugs (#32829) next »