I have project work in localhost my operator
MacOs sierra 10.12.5
Install Ampps sever version 3.6
Apache/2.4.25
PHP 5.6.30
i have a folder with path /Applications/AMPPS/www/project/library/Utilities/Path.php
php
var_dump(is_file('/Applications/AMPPS/www/project/library/utilities/path.php'));
alway return true but when i move to live hosting with operation
Ubuntu 14.04.5 LTS
PHP 5.6.30-12~ubuntu14.04.1+deb.sury.org+1 (cli)
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 15 2016 15:34:04
and the path is different like /username/www/project/library/Utilities/Path.php
php
var_dump(is_file('/username/www/project/library/utilities/path.php'))
alway return false
i mean in my localhost the php function is_file or file_exits alway return true with filename or file folder first character is uppercase but in live host this alway return false , what different in this case ?