Bug #11597 Updated: File I/O on large files is near impossible with PHP
| From: | yohgaki@php.net | Date: | Tue, 29 Jan 2002 01:55:50 +0000 |
| Subject: | Bug #11597 Updated: File I/O on large files is near impossible with PHP | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78393@lists.php.net to get a copy of this message | ||
ID: 11597
Updated by: yohgaki
Old Summary:
Reported By: dave@icezip.com
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.5
New Comment:
DIO extension (Direct IO) will do it nicely
Previous Comments:
------------------------------------------------------------------------
[2001-06-20 21:58:47] dave@icezip.com
File I/O on large files is near impossible with PHP. File() eats way
too much ram, and is slow, and the fopen() method is slow and hard to
seek to a line where you left off processing at. Perhaps including
functions that allow reading a given line of a file, checking the total
number of lines, and more speed/ram aware I/O functions to allow
processing of log files, and other large files.
I'm not a c coder, but I'm more than willing to help in any way I can.
Thanks and keep up the good work.
--Dave
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11597&edit=1