Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 53738 bytes) in /var/cli/mp3anal/mp3anal.php on line 68.
Segmentation fault
This is line 68: while ($found = fscanf ($fp, "%s - - [%[A-Za-z0-9/]:%[0-9:] %[+-0-9]]
\"%[A-Z-] %s %[A-Z0-9/.]\" %[0-9-] %[0-9-]\n",
&$ip, &$date, &$time, &$ofset, &$request, &$file, &$protocol, &$code, &$bytes)) {
Since this is a command line program, is it possible to set the memory
allocation higher? It's a program to read the mp3 lines out of an apache
log file.
This is the entire program:
http://www.cekkent.net/upload/mp3anal/mp3anal.phps
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php