ID: 15260 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *Directory/Filesystem functions Operating System: Linux PHP Version: 4.0.5 New Comment:
Where can I (and how do I) get the source code to file_exists function? Previous Comments: ------------------------------------------------------------------------ [2002-01-28 15:15:00] [EMAIL PROTECTED] Actually, I do have a 4Gig file on the file system. (Since we used the 64bit file operation for our software on all our file I/O) [root@ECTWO root] ls -la /opt/incoming total 4399256 drwxrwxr-x 2 **** **** 4096 Jan 28 13:35 drwxr-xr-x 5 root root 4096 Jan 28 10:44 -rw-rw-r-- 1 **** **** 4499238984 May 10 2001 BigPackage.fpk.pck ------------------------------------------------------------------------ [2002-01-28 15:02:33] [EMAIL PROTECTED] how can he have a file of 4GB if his filesystem does not support it? ------------------------------------------------------------------------ [2002-01-28 15:00:17] [EMAIL PROTECTED] This is a limitation of the filesystem (and linux kernel without LFS support), not php. ------------------------------------------------------------------------ [2002-01-28 14:59:43] [EMAIL PROTECTED] can you please test either PHP 4.1.1 (latest release) or a cvs snapshot (snaps.php.net) ? ------------------------------------------------------------------------ [2002-01-28 14:57:17] [EMAIL PROTECTED] I have a 4G file in /opt/incoming called /opt/incoming/bigpackage.pck I used if(file_exists("/opt/incoming/bigpackage.pck")) echo "Exists"; else echo "Not exists"; and it always returns me "Not exists". I suspect the file_exists function has problem with 2G+ files. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15260&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]