Does file_exists() 'honour' open_basedir?

From: Date: Wed, 25 Jan 2006 23:16:32 +0000
Subject: Does file_exists() 'honour' open_basedir?
Groups: php.general 
Request: Send a blank email to php-general+get-229275@lists.php.net to get a copy of this message
I have 2 different PHP installs, each are slightly different versions, and each have different open_basedir restictions. I have a PHP script that fails on ONE of the installs but NOT the other. The line that fails is $foo = file_exists("/proc/loadavg"); What I don't understand is why one script fails, yet the other does not because NEITHER have /proc in the open_basedir path. What could be different about the PHP configs that makes one report a PHP warning, yet the other does not?

« previous php.general (#229275) next »