ID:               22178
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: solaris8
 PHP Version:      4.3.0
 New Comment:

Was this last comment for the PHP 4.3.1-dev version?
(the latest STABLE snapshot) If so, please update the
version to be '4.3.1-dev'.

One thing you could check is that all the directories
in the path to the file have the same uid/gid/permission
that is required for the file.

(This is actually another bug which I can't find now.)




Previous Comments:
------------------------------------------------------------------------

[2003-02-11 16:36:35] [EMAIL PROTECTED]

The warnings disappear when specifying the
full path of the file.

Same problem also with function "is_file()"

Best Regards!

------------------------------------------------------------------------

[2003-02-11 16:32:13] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

At least one bug associated with warnings in file_exists & safe_mode
has been fixed in latest CVS. So, try the latest CVS and see if that
fixes the problem, if it does not please reply with all of the errors
generated by the function.

------------------------------------------------------------------------

[2003-02-11 16:12:11] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[2003-02-11 16:06:20] [EMAIL PROTECTED]

Is your solaris server using the safe_mode and/or open_basedir ini
directives?

------------------------------------------------------------------------

[2003-02-11 16:01:51] [EMAIL PROTECTED]

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

Reply via email to