file_exists()返回FALSE

I can't access a file in my server which has the permission of rw-r--r--, The file_exists() functions always return FALSE What to change for the access?

The function is actually file_exists(path) not file_exist() if talking about php, and file_exists() needs to use a file path on the drive and not a URL.

So you should do something like:

$file = '/var/www/html/scripts/asset/some_file.png';
if(file_exists($file))
{
    //Will enter here if the file actually exists in that path
}